:root {
  --th-shell-navy: #102e4d;
  --th-shell-text: #102b47;
  --th-shell-accent: #b48b47;
  --th-shell-gold: #d2b276;
  --th-shell-offset: 155px;
}

html { scroll-padding-top: calc(var(--th-shell-offset) + var(--wp-admin--admin-bar--height, 0px)); }
.th-shell-width { width: min(1440px, 92%); margin-inline: auto; }
.th-shell-utility, .th-shell-header, .th-shell-footer { font-family: Arial, Helvetica, sans-serif; }
.th-shell-utility a, .th-shell-header a, .th-shell-footer a { text-decoration: none; }
.th-shell-header svg, .th-shell-utility svg, .th-shell-footer svg { display: block; width: 1em; height: 1em; flex: none; }
.th-shell-utility { background: #164573; color: #fff; }
.th-shell-utility-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 25px; min-height: 31px; padding-block: 4px; font-size: .68rem; letter-spacing: .015em; }
.th-shell-utility a, .th-shell-utility-right { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.th-shell-utility a:hover { text-decoration: underline; }
.th-shell-utility-right { margin-left: auto; }
.th-shell-utility-right i { height: 11px; margin-inline: 6px; border-left: 1px solid #7190ae; }

.th-shell-header { position: sticky; top: 0; z-index: 80; background: #fff; color: var(--th-shell-text); box-shadow: 0 2px 6px #0928460a; }
body.admin-bar .th-shell-header { top: var(--wp-admin--admin-bar--height, 32px); }
.th-shell-header :is(a, button, summary):focus-visible { outline: 2px solid #bc934b; outline-offset: 3px; }
.th-shell-brandbar { display: grid; grid-template-columns: minmax(220px, 285px) minmax(170px, 1fr) auto; align-items: center; gap: 30px; min-height: 106px; }
.th-shell-brand { display: flex; align-items: center; min-width: 0; gap: 4px; color: var(--th-shell-text); }
.th-shell-brand img { width: 88px; height: 88px; flex: 0 0 88px; object-fit: contain; }
.th-shell-brand strong { display: block; font: 800 23px/1.05 Arial, Helvetica, sans-serif; letter-spacing: .055em; }
.th-shell-brand strong span { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .31em; }
.th-shell-brand small { display: block; max-width: 185px; margin-top: 8px; color: #596b7a; font-size: .65rem; line-height: 1.4; }

.th-shell-search { display: flex; align-items: stretch; min-width: 0; height: 46px; border: 1px solid #b9c5cf; border-radius: 3px; background: #fff; }
.th-shell-search:focus-within { border-color: #a57e37; box-shadow: 0 0 0 2px #b4904d31; }
.th-shell-search input { width: 100%; min-width: 0; padding: 0 15px; border: 0; border-radius: 3px 0 0 3px; background: transparent; color: var(--th-shell-text); font: 400 .82rem/1 Arial, Helvetica, sans-serif; }
.th-shell-search input::placeholder { color: #576779; opacity: 1; }
.th-shell-search input:focus { outline: none; }
.th-shell-search button { display: grid; place-items: center; flex: 0 0 47px; margin: -1px; border: 0; border-radius: 0 3px 3px 0; background: var(--th-shell-accent); color: #082644; font-size: 1.25rem; cursor: pointer; }
.th-shell-search button:hover { background: #cda55f; }
.th-shell-actions { display: flex; align-items: center; gap: 17px; }
.th-shell-cart { display: grid; place-items: center; width: 38px; min-height: 44px; border-radius: 3px; font-size: 1.4rem; color: var(--th-shell-text); }
.th-shell-cart:hover, .th-shell-cart[aria-current="page"] { color: #815920; background: #fbf6ea; }
.th-shell-language { position: relative; }
.th-shell-language summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--th-shell-text); cursor: pointer; font-size: .77rem; font-weight: 700; }
.th-shell-language summary::-webkit-details-marker { display: none; }
.th-shell-language summary svg:first-child { font-size: 1.02rem; }
.th-shell-language ul { position: absolute; z-index: 1; inset: calc(100% + 5px) 0 auto auto; min-width: 132px; margin: 0; padding: 5px; background: #fff; border: 1px solid #dce2e7; border-radius: 3px; box-shadow: 0 10px 28px #09233d25; list-style: none; }
.th-shell-language a { display: block; padding: 8px 10px; color: var(--th-shell-text); font-size: .81rem; }
.th-shell-language a:hover, .th-shell-language a[aria-current="true"] { color: #754e16; background: #fbf6ea; }
.th-shell-quote { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 16px; border: 1px solid var(--th-shell-accent); border-radius: 3px; background: var(--th-shell-accent); color: #082644; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.th-shell-quote:hover { background: #cda55f; border-color: #cda55f; }
.th-shell-nav .th-shell-mobile-quote, .th-shell-menu-toggle, .th-shell-menu-close { display: none; }

.th-shell-navbar { background: var(--th-shell-navy); color: #fff; }
.th-shell-nav { position: relative; display: flex; align-items: stretch; gap: clamp(22px, 3vw, 48px); min-height: 49px; font-size: .82rem; font-weight: 700; }
.th-shell-nav > a, .th-shell-products-toggle, .th-shell-products-fallback { display: inline-flex; align-items: center; gap: 8px; position: relative; min-height: 49px; color: inherit; }
.th-shell-nav > a:not(.th-shell-quote)::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 3px; background: #c5a264; transform: scaleX(0); transition: transform 160ms ease; }
.th-shell-nav > a:hover, .th-shell-nav > a[aria-current="page"] { color: #e3c898; }
.th-shell-nav > a:hover::after, .th-shell-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.th-shell-products-toggle, .th-shell-products-fallback { justify-content: flex-start; gap: 12px; min-width: 210px; padding: 0 22px; border: 0; border-inline: 1px solid #ffffff16; background: #193d61; text-align: left; font: inherit; cursor: pointer; }
.th-shell-products-toggle { display: none; }
.th-shell-header[data-th-ready] .th-shell-products-toggle { display: inline-flex; }
.th-shell-header[data-th-ready] .th-shell-products-fallback { display: none; }
.th-shell-products-toggle span { flex: 1; }
.th-shell-products-toggle svg:first-child { font-size: .98rem; color: var(--th-shell-gold); }
.th-shell-products-toggle svg:last-child { transition: transform 180ms ease; }
.th-shell-products-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.th-shell-products-toggle:hover, .th-shell-products-toggle[aria-expanded="true"], .th-shell-products-toggle[data-active="true"], .th-shell-products-fallback:hover { color: #e3c898; background: #214666; }
.th-shell-mega { position: absolute; top: 100%; inset-inline: 0; max-height: calc(100vh - var(--th-shell-offset) - 36px); max-height: calc(100dvh - var(--th-shell-offset) - 36px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #dce2e7; border-top: 3px solid var(--th-shell-accent); background: #fff; color: var(--th-shell-text); box-shadow: 0 20px 44px #09233d30; }
.th-shell-mega-heading { padding: 23px 28px 0; color: #596878; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.th-shell-mega-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 28px); padding: 22px 28px 30px; }
.th-shell-column { min-width: 0; overflow-wrap: anywhere; }
.th-shell-column h2 { min-height: 41px; margin: 0 0 11px; font: 700 .875rem/1.45 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.th-shell-column h2 a { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.th-shell-column h2 svg { margin-top: 4px; color: #8c6124; }
.th-shell-column ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.th-shell-column li a { display: block; padding-block: 2px; color: #46596c; font-size: .79rem; font-weight: 400; line-height: 1.55; }
.th-shell-mega a { color: var(--th-shell-text); }
.th-shell-mega a:hover, .th-shell-mega a[aria-current="page"] { color: #805418; text-decoration: underline; }
.th-shell-mega-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; padding: 16px 28px; border-top: 1px solid #e5e9ec; background: #f5f7f8; }
.th-shell-mega-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 27px; }
.th-shell-mega-end a { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; overflow-wrap: anywhere; }

.th-shell-footer { padding-block: clamp(30px, 5vw, 55px) 18px; background: var(--th-shell-navy); color: #deebf6; font-size: .9rem; }
.th-shell-footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 54px); }
.th-shell-footer-brand > a { display: inline-flex; flex-wrap: wrap; gap: .4em; align-items: baseline; font-size: 1.24rem; font-weight: 800; letter-spacing: .05em; }
.th-shell-footer-brand > a span { font-size: .78em; color: var(--th-shell-gold); }
.th-shell-footer-brand p { max-width: 30ch; margin: 10px 0 0; }
.th-shell-footer h2 { margin-bottom: .62em; font: 750 .88rem/1.4 Arial, Helvetica, sans-serif; letter-spacing: .025em; color: #fff; }
.th-shell-footer ul { display: grid; gap: .45em; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.th-shell-footer a { color: #fff; }
.th-shell-footer a:hover { color: #f4d398; text-decoration: underline; }
.th-shell-footer a svg { display: inline-block; vertical-align: -.12em; margin-inline-start: .35em; }
.th-shell-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 28px; padding-top: 12px; border-top: 1px solid #ffffff2c; font-size: .82rem; }
.th-shell-footer-bottom div { display: flex; flex-wrap: wrap; gap: 6px 20px; }

@media (max-width: 1150px) {
  :root { --th-shell-offset: 147px; }
  .th-shell-brandbar { grid-template-columns: minmax(195px, 215px) minmax(145px, 1fr) auto; min-height: 98px; gap: 18px; }
  .th-shell-brand img { width: 75px; height: 75px; flex-basis: 75px; }
  .th-shell-brand strong { font-size: 20px; }
  .th-shell-actions { gap: 12px; }
  .th-shell-quote { padding-inline: 13px; }
  .th-shell-desktop-quote svg { display: none; }
  .th-shell-products-toggle, .th-shell-products-fallback { min-width: 170px; padding-inline: 16px; }
  .th-shell-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 31px; }
  .th-shell-column h2 { min-height: 0; }
}

@media (max-width: 900px) {
  :root { --th-shell-offset: 150px; }
  .th-shell-utility-inner { justify-content: space-between; }
  .th-shell-utility-right { display: none; }
  .th-shell-brandbar { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; min-height: 0; padding-block: 7px 13px; }
  .th-shell-search { grid-column: 1 / -1; grid-row: 2; height: 43px; }
  .th-shell-actions { grid-column: 2; grid-row: 1; }
  .th-shell-header[data-th-ready] .th-shell-menu-toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--th-shell-text); font-size: 1.4rem; cursor: pointer; }
  .th-shell-menu-toggle[aria-expanded="true"] .th-shell-menu-open { display: none; }
  .th-shell-menu-toggle[aria-expanded="true"] .th-shell-menu-close { display: block; }
  .th-shell-header[data-th-ready] .th-shell-navbar { display: none; position: absolute; top: 100%; inset-inline: 0; box-shadow: 0 20px 32px #082c6230; }
  .th-shell-header[data-th-mobile-open="true"] .th-shell-navbar { display: block; }
  .th-shell-nav { width: 100%; flex-wrap: wrap; gap: 0 20px; padding-inline: 4%; }
  .th-shell-header[data-th-ready] .th-shell-nav { flex-direction: column; flex-wrap: nowrap; gap: 0; max-height: calc(100vh - var(--th-shell-offset) - 38px); max-height: calc(100dvh - var(--th-shell-offset) - 38px); overflow-y: auto; overscroll-behavior: contain; padding-block: 7px 16px; }
  .th-shell-header[data-th-ready] .th-shell-nav > * { flex-shrink: 0; }
  .th-shell-header[data-th-ready] .th-shell-nav > a:not(.th-shell-quote) { border-top: 1px solid #ffffff20; }
  .th-shell-nav > a::after { display: none; }
  .th-shell-products-toggle, .th-shell-products-fallback { width: 100%; min-width: 0; padding: 0; border: 0; background: none; }
  .th-shell-products-toggle:hover, .th-shell-products-toggle[aria-expanded="true"], .th-shell-products-toggle[data-active="true"] { background: transparent; }
  .th-shell-mega { position: static; max-height: none; overflow-y: visible; margin-bottom: 13px; border: 0; border-radius: 3px; box-shadow: none; }
  .th-shell-mega-heading { padding: 16px 16px 0; }
  .th-shell-mega-grid { gap: 20px; padding: 17px 16px; }
  .th-shell-mega-end { padding: 16px; }
  .th-shell-nav .th-shell-mobile-quote { display: inline-flex; width: fit-content; min-height: 44px; margin-top: 12px; color: #082644; }
}

@media (max-width: 680px) {
  :root { --th-shell-offset: 127px; }
  .th-shell-utility-inner { gap: 3px 13px; font-size: .65rem; }
  .th-shell-brandbar { gap: 1px 7px; padding-block: 4px 10px; }
  .th-shell-brand img { width: 62px; height: 68px; flex-basis: 62px; }
  .th-shell-brand strong { font-size: 17px; }
  .th-shell-brand strong span { font-size: 8px; letter-spacing: .26em; }
  .th-shell-brand small, .th-shell-language summary span, .th-shell-language summary svg:last-child { display: none; }
  .th-shell-actions { gap: 4px; }
  .th-shell-language summary, .th-shell-cart { min-width: 40px; justify-content: center; }
  .th-shell-language summary svg:first-child { font-size: 1.15rem; }
  .th-shell-desktop-quote { display: none; }
  .th-shell-mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 15px; }
  .th-shell-column h2 { margin-bottom: 7px; font-size: .79rem; }
  .th-shell-column li a { padding-block: 4px; }
  .th-shell-mega-end { align-items: flex-start; flex-direction: column; }
  .th-shell-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body.admin-bar .th-shell-header { top: 0; }
}

@media (max-width: 360px) {
  .th-shell-brand img { width: 54px; flex-basis: 54px; }
  .th-shell-brand strong { font-size: 15px; }
  .th-shell-actions { gap: 1px; }
  .th-shell-footer-grid { column-gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .th-shell-products-toggle svg, .th-shell-nav > a::after { transition: none; }
}
.th-parity-content > .th-parity-languages { display: none; }
