/* ==========================================================================
   Fatima Shehzad - Header & Search Overlay
   Loaded AFTER style.css and the Customizer "Additional CSS" block so it
   reliably overrides the legacy .header-nav rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Neutralise legacy header markup
   -------------------------------------------------------------------------- */

/* The brand H1 that used to be injected into <head> by WPCode. Kept for SEO,
   removed from the visual flow. */
.fs-brand-h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* The old bare <h1> was printed inside <head> and hoisted to the top of the
   page by the browser. Keep it for SEO, remove it visually. */
.mobile-brand-header {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Legacy desktop header + old hamburger are replaced by .fs-header /
   .fs-compact-bar. */
header.fs-header,
.fs-compact-bar {
    display: block;
}

.mobile-nav-btn {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --fs-ink: #111111;
    --fs-ink-soft: #6b6b6b;
    --fs-line: #e6e2dd;
    --fs-bg: #ffffff;
    --fs-accent: #111111;
    --fs-header-pad-y: 22px;
    --fs-nav-size: 14px;
    --fs-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --fs-z-header: 900;
    --fs-z-drawer: 1000;
    --fs-z-overlay: 1100;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
body.fs-search-locked,
body.fs-nav-locked {
    overflow: hidden;
}

.fs-skip-link:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 2000;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    padding: 12px 20px;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   4. Focus styles
   -------------------------------------------------------------------------- */
/* Replace the UA `outline: auto` ring, which renders as an ugly circle on the
   round icon buttons. Keyboard users still get a clear, high-contrast ring. */
.fs-header :focus,
.fs-compact-bar :focus,
.mobile-nav :focus,
.fs-search :focus {
    outline: none;
}

.fs-header :focus-visible,
.fs-compact-bar :focus-visible,
.mobile-nav :focus-visible,
.fs-search :focus-visible {
    outline: 2px solid var(--fs-ink);
    outline-offset: 3px;
    border-radius: 3px;
}

.fs-header :focus-visible:not(:focus-visible) {
    outline: none;
}

/* --------------------------------------------------------------------------
   4b. Link colour lock
   -------------------------------------------------------------------------- */
/* WooCommerce 11+ injects its own link colour (and the theme/WP core add more
   on top), which turns the header wordmark and menu links blue. The header is
   a fixed monochrome brand element, so pin these explicitly. */
.fs-header__brand .logo a,
.fs-header__brand .logo a:link,
.fs-header__brand .logo a:visited,
.fs-header__menu > li > a,
.fs-header__menu > li > a:link,
.fs-header__menu > li > a:visited,
.fs-header__menu ul a,
.fs-header__menu ul a:link,
.fs-header__menu ul a:visited,
.fs-compact-bar__logo,
.fs-compact-bar__logo:link,
.fs-compact-bar__logo:visited,
.mobile-nav__logo,
.mobile-nav__logo:link,
.mobile-nav__logo:visited,
.mobile-nav__link,
.mobile-nav__link:link,
.mobile-nav__link:visited,
.mobile-nav .pn .navigation > li > a,
.mobile-nav .pn .navigation > li > a:link,
.mobile-nav .pn .navigation > li > a:visited,
.mobile-nav .pn .navigation ul a,
.mobile-nav .pn .navigation ul a:link,
.mobile-nav .pn .navigation ul a:visited {
    color: var(--fs-ink) !important;
}

.fs-header__menu > li > a:hover,
.fs-header__menu ul a:hover,
.mobile-nav .pn .navigation > li > a:hover,
.mobile-nav .pn .navigation ul a:hover {
    color: var(--fs-ink) !important;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   5. Cart count badge
   -------------------------------------------------------------------------- */
.fs-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--fs-ink);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    vertical-align: middle;
}

.fs-cart-count--inline {
    margin-left: auto;
}

/* --------------------------------------------------------------------------
   5. Desktop header
   -------------------------------------------------------------------------- */
.fs-header {
    position: relative;
    z-index: var(--fs-z-header);
    background: var(--fs-bg);
    border-bottom: 1px solid var(--fs-line);
}

.fs-header__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: var(--fs-header-pad-y) 0;
}

.fs-header__side {
    display: flex;
    align-items: center;
    gap: 22px;
}

.fs-header__side--left {
    justify-content: flex-start;
}

.fs-header__side--right {
    justify-content: flex-end;
    gap: 18px;
}

.fs-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fs-ink);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.fs-header__icon-btn:hover {
    background: #f4f2ef;
}

.fs-header__icon-btn:active {
    transform: scale(0.94);
}

.fs-header__icon-btn svg {
    display: block;
}

.fs-header__brand {
    justify-self: center;
    text-align: center;
}

/* Logo
   -----------------------------------------------------------------------
   Reproduces the theme's original wordmark exactly (style.css:23633-23702):
   Poppins inherited from body, 30px, uppercase, 2px tracking, enlarged
   ::first-letter per word, and the two 2px rules that wipe in on hover.
   font-family is deliberately NOT set here so the theme font is inherited. */
.fs-header__brand .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    position: relative;
    text-decoration: none;
    transition: all 0.5s;
}

/* Decorative rules above and below the wordmark (the "two lines"). */
.fs-header__brand .logo a::before,
.fs-header__brand .logo a::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: all 0.5s;
}

.fs-header__brand .logo a::before {
    top: 0;
}

.fs-header__brand .logo a::after {
    bottom: 0;
}

.fs-header__brand .logo a:hover::before,
.fs-header__brand .logo a:hover::after,
.fs-header__brand .logo a:focus-visible::before,
.fs-header__brand .logo a:focus-visible::after {
    width: 100%;
    opacity: 1;
    visibility: visible;
}

.fs-header__brand .logo h3 {
    margin: 0 0 10px;
    color: #000;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s;
}

.fs-header__brand .logo a > h3:first-child {
    margin-right: 10px;
}

.fs-header__brand .logo a > h3:last-child {
    margin-right: 0;
}

.fs-header__brand .logo a:hover h3 {
    letter-spacing: 5px;
}

/* Enlarged first letter of each word - the "F" and "S". */
.fs-header__brand .logo h3::first-letter {
    font-size: 34px;
    font-weight: 600;
}

/* Account / cart */
.fs-header__action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: var(--fs-ink) !important;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.25s ease;
}

.fs-header__action::before {
    display: none !important;
}

.fs-header__action:hover {
    opacity: 0.6;
}

.fs-header__action svg {
    flex: none;
}

.fs-header__action .fs-cart-count {
    position: static;
    transform: none;
    margin-left: 2px;
}

.fs-header__divider {
    display: block;
    width: 1px;
    height: 16px;
    background: var(--fs-line);
}

/* Primary navigation */
.fs-header__nav {
    border-top: 1px solid var(--fs-line);
}

.fs-header__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-header__menu > li {
    position: relative;
    margin: 0 !important;
}

.fs-header__menu > li > a {
    display: block;
    padding: 15px 22px;
    color: var(--fs-ink);
    font-size: var(--fs-nav-size);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.25s ease;
}

.fs-header__menu > li > a::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 10px;
    height: 1px;
    background: var(--fs-ink);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.4s var(--fs-ease-out), opacity 0.3s ease;
}

.fs-header__menu > li:hover > a,
.fs-header__menu > li:focus-within > a,
.fs-header__menu > li.current-menu-item > a,
.fs-header__menu > li.current-menu-ancestor > a {
    opacity: 0.55;
}

.fs-header__menu > li:hover > a::after,
.fs-header__menu > li:focus-within > a::after,
.fs-header__menu > li.current-menu-item > a::after,
.fs-header__menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Sub menus */
.fs-header__menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--fs-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s var(--fs-ease-out), visibility 0.28s;
}

.fs-header__menu li:hover > ul,
.fs-header__menu li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fs-header__menu ul a {
    display: block;
    padding: 9px 18px;
    color: var(--fs-ink);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.fs-header__menu ul a:hover {
    background: #f7f5f2;
}

/* --------------------------------------------------------------------------
   6. Compact bar (mobile + tablet)
   -------------------------------------------------------------------------- */
.fs-compact-bar {
    position: relative;
    z-index: var(--fs-z-header);
    background: var(--fs-bg);
    border-bottom: 1px solid var(--fs-line);
}

/* Symmetric columns so the wordmark is centred on the viewport, not on the
   leftover space between a narrow burger button and wider action buttons. */
.fs-compact-bar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 58px;
}

.fs-compact-bar__btn.js-fs-nav-open {
    justify-self: start;
}

.fs-compact-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fs-ink);
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.fs-compact-bar__btn:hover {
    background: #f4f2ef;
}

.fs-compact-bar__logo {
    justify-self: center;
    /* Pad out to a comfortable tap target without changing the visual weight. */
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    text-align: center;
    color: var(--fs-ink);
    text-decoration: none;
}

.fs-compact-bar__logo span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.fs-compact-bar__actions {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-self: end;
}

.fs-compact-bar__cart {
    position: relative;
}

.fs-compact-bar__cart .fs-cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    transform: scale(0.85);
    transform-origin: top right;
}

/* Hamburger */
.fs-burger {
    display: block;
    width: 19px;
}

.fs-burger i {
    display: block;
    height: 1.5px;
    margin: 4px 0;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s var(--fs-ease-out), opacity 0.2s ease;
}

.fs-burger i:nth-child(1) { transform: translateX(0); }
.fs-burger i:nth-child(3) { transform: translateX(0); }

.fs-compact-bar__btn[aria-expanded="true"] .fs-burger i:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.fs-compact-bar__btn[aria-expanded="true"] .fs-burger i:nth-child(2) {
    opacity: 0;
}

.fs-compact-bar__btn[aria-expanded="true"] .fs-burger i:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Off-canvas drawer
   -------------------------------------------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: var(--fs-z-drawer);
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -1px 0 0 var(--fs-line);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    transition: transform 0.5s var(--fs-ease-out), visibility 0.5s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    right: 0;
    height: 100%;
    transform: translate3d(0, 0, 0);
    visibility: visible;
}

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--fs-line);
}

.mobile-nav__logo {
    color: var(--fs-ink);
    text-decoration: none;
}

.mobile-nav__logo span {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mobile-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fs-ink);
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.mobile-nav__close:hover {
    background: #f4f2ef;
}

.mobile-nav__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px 28px;
}

.mobile-nav__search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--fs-line);
    border-radius: 2px;
    background: #faf9f7;
    color: var(--fs-ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.mobile-nav__search:hover {
    border-color: var(--fs-ink);
    background: #fff;
}

.mobile-nav .pn .navigation {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav .pn .navigation > li {
    margin: 0;
    border-bottom: 1px solid var(--fs-line);
}

.mobile-nav .pn .navigation > li > a {
    display: block;
    padding: 14px 0;
    color: var(--fs-ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-nav .pn .navigation ul {
    margin: 0;
    padding: 0 0 10px 14px;
    list-style: none;
}

.mobile-nav .pn .navigation ul a {
    display: block;
    padding: 8px 0;
    color: var(--fs-ink-soft);
    font-size: 12.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-nav__foot {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--fs-line);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--fs-ink);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-nav__link:hover {
    opacity: 0.6;
}

.mobile-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: calc(var(--fs-z-drawer) - 1);
    background: rgba(17, 17, 17, 0.42);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.mobile-nav__backdrop.is-visible {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   8. Search overlay
   -------------------------------------------------------------------------- */
.fs-search {
    position: fixed;
    inset: 0;
    z-index: var(--fs-z-overlay);
}

.fs-search[hidden] {
    display: none;
}

.fs-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* The panel wipes down from the top edge. */
.fs-search__panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    transform: translate3d(0, -100%, 0);
    transition: transform 0.62s var(--fs-ease-out);
    will-change: transform;
}

.fs-search__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 42vh;
    padding: 68px 24px 56px;
    text-align: center;

    /* Content settles in after the wipe finishes. */
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.5s ease, transform 0.6s var(--fs-ease-out);
}

.fs-search.is-open .fs-search__backdrop {
    opacity: 1;
}

.fs-search.is-open .fs-search__panel {
    transform: translate3d(0, 0, 0);
}

.fs-search.is-open .fs-search__inner {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.22s, 0.22s;
}

.fs-search__close {
    position: absolute;
    top: 22px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fs-ink);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.fs-search__close:hover {
    background: #f4f2ef;
}

.fs-search__close:active {
    transform: scale(0.94);
}

.fs-search__eyebrow {
    margin: 0 0 26px;
    color: var(--fs-ink-soft);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.fs-search__form-wrap {
    width: 100%;
    max-width: 720px;
}

/* --- Live search field, restyled for the overlay --- */
.fs-search .dgwt-wcas-search-wrapp {
    position: static !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
}

/* The plugin hides its own form in "icon" layout
   (html:not(.dgwt-wcas-overlay-mobile-on) ...dgwt-wcas-layout-icon .dgwt-wcas-search-form
   => display:none). Our overlay owns the field, so force it open. */
.fs-search .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon .dgwt-wcas-search-form,
.fs-search .dgwt-wcas-search-form {
    display: block !important;
    opacity: 1 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: auto !important;
    float: none !important;
}

.fs-search .dgwt-wcas-sf-wrapp {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #cfcac4 !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: border-color 0.3s ease;
}

.fs-search .dgwt-wcas-sf-wrapp::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--fs-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--fs-ease-out);
}

.fs-search.is-open .dgwt-wcas-sf-wrapp::after {
    transform: scaleX(1);
}

.fs-search .dgwt-wcas-search-input {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 54px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--fs-ink) !important;
    font-family: inherit !important;
    font-size: clamp(20px, 3.4vw, 34px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
    text-transform: none;
}

.fs-search .dgwt-wcas-search-input::placeholder {
    color: #b6b1ab !important;
    opacity: 1;
}

.fs-search .dgwt-wcas-search-input:focus {
    outline: none;
}

.fs-search .dgwt-wcas-search-submit,
.fs-search .dgwt-wcas-has-submit .dgwt-wcas-search-submit {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--fs-ink) !important;
    cursor: pointer;
    transform: translateY(-50%);
}

.fs-search .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier,
.fs-search .dgwt-wcas-ico-magnifier {
    position: static !important;
    display: block !important;
    width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

/* Hide the plugin's own icon trigger + spinner: the overlay supplies its own. */
.fs-search .js-dgwt-wcas-enable-mobile-form,
.fs-search .js-dgwt-wcas-search-icon-handler,
.fs-search .dgwt-wcas-search-icon,
.fs-search .dgwt-wcas-search-icon-arrow,
.fs-search .dgwt-wcas-voice-search,
.fs-search .dgwt-wcas-loader-circular {
    display: none !important;
}

/* Suggestions dropdown */
.fs-search .dgwt-wcas-suggestions,
.fs-search .dgwt-wcas-suggestions-container {
    width: 100% !important;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.fs-search .dgwt-wcas-suggestions {
    border: 0 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1) !important;
}

/* --------------------------------------------------------------------------
   9. Responsive
   -------------------------------------------------------------------------- */

/* Narrow desktops / small laptops: the 7-item menu does not fit on one line at
   the default gutters. Only the horizontal padding is reduced here - the type
   size and tracking are left exactly as the theme defines them. */
@media (min-width: 992px) and (max-width: 1220px) {
    .fs-header__menu > li > a {
        padding: 14px 11px;
    }

    .fs-header__menu > li > a::after {
        left: 11px;
        right: 11px;
        bottom: 9px;
    }

    .fs-header__side {
        gap: 14px;
    }

    .fs-header__top {
        gap: 10px;
    }
}

/* Tablet + mobile: swap full header for the compact bar.
   Selector matches the `header.fs-header` specificity above so it wins. */
@media (max-width: 991px) {
    header.fs-header {
        display: none;
    }

    .fs-compact-bar {
        display: block;
    }
}

@media (min-width: 992px) {
    .fs-compact-bar {
        display: none;
    }
}

/* Very small phones: shrink the wordmark so the centred column still fits
   between the burger and the two action buttons. */
@media (max-width: 430px) {
    .fs-compact-bar__logo span {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

/* Very small phones */
@media (max-width: 575px) {
    :root {
        --fs-header-pad-y: 16px;
    }

    .fs-search__inner {
        min-height: 38vh;
        padding: 60px 18px 44px;
    }

    .fs-search__close {
        top: 14px;
        right: 14px;
    }

    .fs-header__menu > li > a {
        padding: 13px 15px;
        font-size: 11.5px;
    }
}

/* Short viewports: keep the overlay from overflowing. */
@media (max-height: 520px) {
    .fs-search__inner {
        min-height: auto;
        padding: 56px 20px 32px;
    }

    .fs-search__eyebrow {
        margin-bottom: 16px;
    }
}

/* --------------------------------------------------------------------------
   10. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .fs-search__panel,
    .fs-search__backdrop,
    .fs-search__inner,
    .mobile-nav,
    .mobile-nav__backdrop,
    .fs-header__menu > li > a::after,
    .fs-burger i {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
