/* Site header and footer: same design as the homepage header (red theme).
   Source file: client/src/components/site-header.css
   Copied to client/public/categories/site-header.css by npm run build:directory. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap");

.sh-topline, .sh-masthead, .sh-footer {
  --sh-ink: #3d2024;
  --sh-ink-deep: #540e1b;
  --sh-red: #c91e35;
  --sh-pale: #ffe1db;
  --sh-muted: #79676a;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
.sh-topline *, .sh-masthead *, .sh-footer * { box-sizing: border-box; }
.sh-topline a, .sh-masthead a, .sh-footer a { color: inherit; text-decoration: none; }
.sh-shell { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }

.sh-topline { background: var(--sh-ink-deep); color: #fff0f0; font-size: 11px; letter-spacing: .04em; }
.sh-topline-inner { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sh-topline p { margin: 0; opacity: .82; }
.sh-topline a { color: var(--sh-pale); font-weight: 700; }

.sh-masthead { position: sticky; top: 0; z-index: 50; background: var(--sh-red); color: #fffdfc; box-shadow: 0 3px 12px #00000014; border: 0; backdrop-filter: none; }
.sh-mainnav { display: flex; align-items: center; gap: 23px; min-height: 78px; }
.sh-brand { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.sh-brandmark { flex: none; width: 38px; height: 38px; border-radius: 13px 13px 13px 4px; background: var(--sh-pale); display: grid; place-items: center; color: var(--sh-ink-deep); transform: rotate(-4deg); }
.sh-brandmark svg { transform: rotate(4deg); }
.sh-brandname { font: 800 16px/1 "Manrope", sans-serif; letter-spacing: -.04em; color: #fffdfc; }
.sh-brandname small { display: block; margin-top: 5px; color: #ffd3d9; font: 600 9px/1 "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; }

.sh-search { position: relative; display: flex; flex: 1; min-width: 180px; height: 44px; margin: 0; background: #fffdfc; border-radius: 7px; box-shadow: 0 5px 16px #540e1b25; }
.sh-search input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; padding: 0 17px; margin: 0; color: var(--sh-ink); background: transparent; font: 14px "DM Sans", sans-serif; border-radius: 7px 0 0 7px; }
.sh-search input::placeholder { color: #8d797c; }
.sh-search button { flex: none; width: 52px; display: grid; place-items: center; background: var(--sh-pale); color: var(--sh-ink-deep); border: 0; border-radius: 0 7px 7px 0; cursor: pointer; transition: background .18s ease; }
.sh-search button:hover { background: #ffc9c1; }

.sh-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; margin: 0; padding: 6px; list-style: none; max-height: min(420px, 70vh); overflow-y: auto; border-radius: 8px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .2); }
.sh-suggestions[hidden] { display: none; }
.sh-suggestions li { margin: 0; }
.sh-suggestions a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: var(--sh-ink) !important; }
.sh-suggestions a.active, .sh-suggestions a:hover { background: #f8eeee; }
.sh-sug-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fbeff0; color: var(--sh-red); }
.sh-sug-text { display: flex; flex-direction: column; min-width: 0; }
.sh-sug-text strong { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-sug-text strong b { font-weight: 800; }
.sh-sug-text small { color: var(--sh-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sh-navlinks { display: flex; align-items: center; gap: 20px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.sh-navlinks > a, .sh-navlinks summary { opacity: .92; transition: opacity .18s ease, color .18s ease; }
.sh-navlinks > a:hover, .sh-navlinks summary:hover { opacity: 1; color: var(--sh-pale); }
.sh-list-link { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #ffffff66; padding: 10px 13px; border-radius: 6px; }

/* Dropdown menus (Cities, Property, departments) */
.sh-drop { position: relative; }
.sh-drop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.sh-drop > summary::-webkit-details-marker { display: none; }
.sh-drop > summary::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .8; }
.sh-drop[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.sh-panel { position: absolute; top: calc(100% + 10px); left: -12px; z-index: 55; min-width: 210px; padding: 8px; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); font-size: 13px; font-weight: 500; white-space: nowrap; }
.sh-panel-h { margin: 4px 10px 6px; color: var(--sh-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sh-panel a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--sh-ink) !important; }
.sh-panel a:hover { background: #f8eeee; }
.sh-panel a[aria-current] { color: var(--sh-red) !important; font-weight: 700; }

.sh-deptbar { position: relative; border-top: 1px solid #ffffff20; }
.sh-deptinner { display: flex; align-items: center; gap: 24px; min-height: 40px; font-size: 11px; }
.sh-deptinner > a, .sh-deptinner summary { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: #ffe6e9; transition: color .18s ease; }
.sh-deptinner > a:hover, .sh-deptinner summary:hover, .sh-dept.sh-current > summary { color: #fff; }
.sh-deptinner .sh-all { color: #fff; font-weight: 700; }
.sh-dept.sh-current > summary { font-weight: 700; }
.sh-narrow { display: none; }

@media (max-width: 1020px) {
  .sh-shell { width: min(100% - 42px, 1320px); }
  .sh-mainnav { gap: 15px; }
  .sh-brand { min-width: 185px; }
  .sh-navlinks { gap: 12px; }
}
@media (max-width: 860px) {
  /* Cities and Property move into the scrolling department bar. */
  .sh-wide { display: none; }
  .sh-narrow { display: block; }
  .sh-deptinner { overflow-x: auto; scrollbar-width: none; }
  .sh-deptinner::-webkit-scrollbar { display: none; }
  .sh-deptinner .sh-drop { position: static; }
  .sh-deptinner .sh-panel { top: 100%; left: 16px; right: 16px; margin-top: 4px; white-space: normal; max-height: 60vh; overflow-y: auto; }
}
@media (max-width: 700px) {
  .sh-shell { width: calc(100% - 32px); }
  .sh-topline-inner { min-height: 31px; }
  .sh-topline p { font-size: 9px; }
  .sh-topline a { font-size: 8.8px; }
  .sh-mainnav { min-height: 112px; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 12px 0; }
  .sh-brand { min-width: 0; }
  .sh-brandmark { width: 34px; height: 34px; }
  .sh-brandname { font-size: 14px; }
  .sh-navlinks { gap: 9px; font-size: 10px; }
  .sh-list-link { padding: 8px 9px; }
  .sh-search { grid-column: 1 / -1; grid-row: 2; height: 42px; }
  .sh-deptinner { gap: 19px; min-height: 39px; }
}

/* Footer */
.sh-footer { padding: 34px 0 23px; background: var(--sh-ink-deep); color: #fff0f0; font-size: 12px; }
.sh-footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 24px; }
.sh-footer-brand { max-width: 300px; }
.sh-footer-brand p { margin: 13px 0 0; color: #e4b7c0; font-size: 11.5px; line-height: 1.6; }
.sh-footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, auto)); gap: 18px 36px; }
.sh-fcol { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sh-fh { margin: 0 0 3px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sh-fcol a { color: #ffe1e7; font-size: 12px; }
.sh-fcol a:hover { color: #fff; text-decoration: underline; }
.sh-footer-fine { margin: 0 0 16px; color: #d9a9b3; font-size: 11px; line-height: 1.6; max-width: 900px; }
.sh-footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 16px; border-top: 1px solid #ffffff20; color: #e4b7c0; font-size: 10.5px; }
.sh-footer-bottom p { margin: 0; }
@media (max-width: 1020px) {
  .sh-footer-main { flex-direction: column; gap: 26px; }
  .sh-footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 700px) {
  .sh-footer-cols { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .sh-footer-bottom { flex-direction: column; gap: 6px; }
}
