/* Shared header for every public page: black strip, header bar (menu, search, logo, language,
   WhatsApp), category row, slide-out menu and language menu. Sizes are in px so the header
   looks exactly the same on every page. Behaviour is in site.js. */

.sh-strip { height: 32px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; background: #20201d; color: #fbf7ee; font: 600 11px/1 var(--sans); letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap; }

.sh-header { position: sticky; top: 0; z-index: 40; background: #f8f5ef; border-bottom: 1px solid #d9d3c9; }
.sh-bar { max-width: 1400px; height: 72px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.sh-left, .sh-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sh-right { justify-content: flex-end; }

.sh-icon { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #20201d; font: 600 13px/1 var(--sans); text-decoration: none; cursor: pointer; }
.sh-icon:hover { background: rgba(32, 32, 29, .07); }
.sh-icon:focus-visible, .sh-search button:focus-visible, .sh-drawer a:focus-visible, .sh-drawer button:focus-visible, .sh-lang-menu button:focus-visible { outline: 2px solid #b68a4c; outline-offset: 2px; }
.sh-icon svg { width: 22px; height: 22px; flex: none; }

.sh-brand { color: #20201d; text-align: center; text-decoration: none; white-space: nowrap; font: 400 38px/1 var(--serif); letter-spacing: -1.2px; }
.sh-brand small { display: block; margin-top: 5px; font: 600 7.5px/1 var(--sans); letter-spacing: 3.2px; text-transform: uppercase; }

/* Search: a box on large screens, just the magnifier on phones and tablets (opens the search page). */
.sh-search { width: 250px; height: 40px; margin: 0; padding: 0 3px 0 16px; display: flex; align-items: center; border: 1px solid #d9d3c9; border-radius: 999px; background: #fff; }
.sh-search:focus-within { border-color: #b68a4c; box-shadow: 0 0 0 3px rgba(182, 138, 76, .18); }
.sh-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #20201d; font: 500 14px/1 var(--sans); }
.sh-search input::placeholder { color: #8a8378; }
.sh-search input::-webkit-search-cancel-button { display: none; }
.sh-search button { width: 34px; height: 34px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #20201d; cursor: pointer; }
.sh-search button svg { width: 20px; height: 20px; }
.sh-search .sh-cam svg { width: 21px; height: 21px; }
.sh-search button:hover { background: rgba(32, 32, 29, .07); }

/* Language (globe) */
.sh-lang { position: relative; }
.sh-lang-btn { width: auto; min-width: 40px; padding: 0 12px 0 9px; }
.sh-lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 190px; padding: 6px; border: 1px solid #d9d3c9; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(0, 0, 0, .16); }
.sh-lang-menu[hidden] { display: none; }
.sh-lang-menu button { width: 100%; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; border-radius: 8px; background: transparent; color: #20201d; font: 500 15px/1.2 system-ui, 'DM Sans', Arial, sans-serif; text-align: left; cursor: pointer; }
.sh-lang-menu button:hover { background: #f4efe6; }
.sh-lang-menu button[aria-checked="true"] { font-weight: 700; }
.sh-lang-menu button[aria-checked="true"]::after { content: '✓'; color: #b68a4c; }

/* Category row under the header */
.sh-nav { overflow-x: auto; border-bottom: 1px solid #d9d3c9; background: #f8f5ef; scrollbar-width: none; }
.sh-nav::-webkit-scrollbar { display: none; }
.sh-nav-inner { width: max-content; height: 46px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 34px; font: 600 11px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; }
.sh-nav a { padding: 7px 0; border-bottom: 2px solid transparent; color: #20201d; text-decoration: none; }
.sh-nav a:hover, .sh-nav a[aria-current="page"] { border-bottom-color: #b68a4c; }

/* Slide-out menu */
.sh-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(20, 17, 14, .45); opacity: 0; visibility: hidden; transition: opacity .22s, visibility 0s .22s; }
.sh-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 71; width: min(86vw, 360px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: #f8f5ef; box-shadow: 8px 0 30px rgba(0, 0, 0, .18); transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.sh-menu-open .sh-overlay { opacity: 1; visibility: visible; transition: opacity .22s; }
.sh-menu-open .sh-drawer { transform: none; visibility: visible; transition: transform .25s ease; }
.sh-menu-open, .sh-menu-open body { overflow: hidden; }
.sh-drawer-top { height: 64px; padding: 0 12px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9d3c9; }
.sh-drawer-top .sh-brand { font-size: 28px; text-align: left; }
.sh-drawer-top .sh-brand small { display: none; }
.sh-drawer .sh-search { width: auto; height: 46px; margin: 18px 20px 6px; padding: 0 4px 0 16px; border-color: #d9d3c9; background: #fff; }
.sh-drawer .sh-search input { display: block; font-size: 16px; }
.sh-drawer .sh-search button { width: 38px; height: 38px; }
.sh-drawer-body { padding: 8px 0 28px; }
.sh-drawer h2 { margin: 18px 20px 6px; color: #7b7466; font: 700 11px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; }
.sh-drawer ul { margin: 0; padding: 0; list-style: none; }
.sh-drawer li a { display: block; padding: 12px 20px; color: #20201d; font: 500 16px/1.3 var(--sans); text-decoration: none; }
.sh-drawer li a:hover { background: #efe9df; }
.sh-drawer li.sh-top > a { font: 400 22px/1.2 var(--serif); padding-top: 14px; }
.sh-drawer li.sh-sub > a { padding: 9px 20px 9px 36px; color: #4f4b44; font-size: 15px; }
.sh-drawer hr { margin: 14px 20px; border: 0; border-top: 1px solid #d9d3c9; }

/* Enquire box (site.js): a sheet from the bottom on phones, a box in the middle on larger screens. */
.sh-sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sh-sheet-back { position: absolute; inset: 0; background: rgba(20, 17, 14, .45); opacity: 0; transition: opacity .2s; }
.sh-sheet { position: relative; width: min(100%, 440px); max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 0 12px; border-radius: 14px; background: #f8f5ef; color: #20201d; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s ease; }
.sh-sheet-wrap.is-open .sh-sheet-back { opacity: 1; }
.sh-sheet-wrap.is-open .sh-sheet { opacity: 1; transform: none; }
.sh-sheet-open, .sh-sheet-open body { overflow: hidden; }
.sh-sheet-top { padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sh-sheet h2 { margin: 0; font: 400 24px/1.2 var(--serif); }
.sh-sheet > p { margin: 2px 20px 10px; color: #6b665d; font: 400 14px/1.4 var(--sans); }
.sh-sheet ul { margin: 0; padding: 0 10px; list-style: none; }
.sh-sheet li + li { border-top: 1px solid #e6e0d6; }
.sh-sheet li a { min-height: 76px; padding: 10px; display: flex; align-items: center; gap: 14px; border-radius: 10px; color: #20201d; text-decoration: none; }
.sh-sheet li a:hover { background: #efe9df; }
.sh-sheet li a:focus-visible { outline: 2px solid #b68a4c; outline-offset: -2px; }
.sh-sheet li img, .sh-sheet-ico { width: 56px; height: 56px; flex: none; border-radius: 8px; background: #e4dfd6; object-fit: cover; }
.sh-sheet-ico { display: grid; place-items: center; background: #fff; border: 1px solid #d9d3c9; color: #b68a4c; }
.sh-sheet-ico svg { width: 24px; height: 24px; }
.sh-sheet-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sh-sheet-text b { font: 600 16px/1.25 var(--sans); }
.sh-sheet-text small { overflow: hidden; color: #6b665d; font: 400 13px/1.35 var(--sans); text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sh-sheet li a > svg { width: 20px; height: 20px; flex: none; color: #8a8378; }
@media (max-width: 760px) {
  .sh-sheet-wrap { align-items: flex-end; padding: 0; }
  .sh-sheet { width: 100%; max-height: 85vh; padding-bottom: calc(14px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; transform: translateY(100%); transition: opacity .15s, transform .25s ease; }
}

/* Leave room for the sticky header when jumping to #story and similar links. */
[id] { scroll-margin-top: 84px; }

@media (max-width: 900px) {
  /* just the magnifier (opens the search page) and the camera (search with a photo) */
  .sh-search { width: auto; padding: 0; border-color: transparent; background: transparent; }
  .sh-header .sh-search .sh-cam { order: 1; }
  .sh-search:focus-within { box-shadow: none; }
  .sh-search input { display: none; }
  .sh-search button { width: 40px; height: 40px; }
  .sh-search button:hover { background: rgba(32, 32, 29, .07); }
  .sh-search button svg { width: 22px; height: 22px; }
  .sh-lang-name { display: none; }
  .sh-lang-btn { width: 40px; padding: 0; }
}

@media (max-width: 760px) {
  .sh-strip { height: 30px; font-size: 10px; letter-spacing: .8px; }
  .sh-bar { height: 60px; padding: 0 8px; gap: 4px; }
  .sh-left, .sh-right { gap: 2px; }
  .sh-brand { font-size: 30px; }
  .sh-brand small { margin-top: 4px; font-size: 6.5px; letter-spacing: 2.8px; }
  .sh-nav-inner { height: 42px; padding: 0 16px; gap: 22px; font-size: 10.5px; letter-spacing: .9px; }
  .sh-nav .sh-story { display: none; }
  [id] { scroll-margin-top: 70px; }
}

/* Small phones: room for menu, search and camera beside the logo. */
@media (max-width: 380px) {
  .sh-bar { padding: 0 4px; gap: 2px; }
  .sh-left, .sh-right { gap: 0; }
  .sh-icon, .sh-search button { width: 36px; height: 40px; }
  .sh-brand { font-size: 28px; }
}
