/*

    ____   ___   _      ____      _      ____  _____
   / ___| / _ \ | |    |  _ \    / \    / ___|| ____|
  | |  _ | | | || |    | | | |  / _ \  | |  _ |  _|
  | |_| || |_| || |___ | |_| | / ___ \ | |_| || |___
   \____| \___/ |_____||____/ /_/   \_\ \____||_____|
                            /\
                            \/
  Goldage Jewellery Limited
  Hong Kong fine jewellery, made for trade

  Developer: Prinseyy

*/

/* GoldAge site shell — the shared header and footer used on every page.
   Loaded after jewelpark-inspired.css and nav-menus.css (which hold the main header and menu design),
   it carries the few rules that used to live in homepage-only stylesheets, so every page renders
   the header and footer identically. */

/* ------------------------------------------------------------ header height (set by site-shell.js) */
:root { --ga-header-h: 147px; --ga-subnav-h: 0px; }
@media (max-width: 1250px) { :root { --ga-header-h: 77px; } }

/* In-page links land just below the sticky header and any sticky bar under it (manufacturing section bar,
   mobile catalogue tabs). This one rule replaces the different fixed offsets older stylesheets set per page. */
html { scroll-padding-top: calc(var(--ga-header-h) + var(--ga-subnav-h) + 16px) !important; }
body.layout-v18 [id] { scroll-margin-top: 0 !important; }

/* ------------------------------------------------------------ header entry points */
.ga-kbd-hint {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 2px;
  padding: 0 4px;
  border: 1px solid #e1e6e4;
  border-radius: 4px;
  color: #5f6f6c;
  background: #fff;
  font: 600 .75rem/1 Manrope, sans-serif;
}

body.layout-v18 .header-actions .buyer-button:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Header controls that are links on inner pages look exactly like the homepage buttons. */
body.jp-inspired-home .header-actions :is(a.buyer-button, a.quote-button, a.header-search-button),
body.jp-inspired-home .nav-links .mobile-nav-actions a { text-decoration: none; cursor: pointer; }

body.jp-inspired-home .header-actions .header-search-button { display: none; }

@media (max-width: 1250px) {
  body.jp-inspired-home .header-actions .header-search-button {
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--jp-line, #e1e6e4);
    border-radius: 0;
    color: #213b39;
    background: #fff;
    font-size: 1.3125rem;
    line-height: 1;
    cursor: pointer;
  }
  body.jp-inspired-home .header-actions .header-search-button:hover { border-color: #087c7b; color: #087c7b; }
}

/* ------------------------------------------------------------ manufacturing section bar sits under the header */
body.manufacturing-page .manufacturing-section-nav { top: var(--ga-header-h); }

/* ------------------------------------------------------------ footer text levels (shared on every page) */
body.layout-v18 .site-footer,
body.layout-v18 .site-footer :where(h2, h3, p, strong, small, a, button, span) { color: #fff !important; }
body.layout-v18 .site-footer .eyebrow,
body.layout-v18 .site-footer .footer-column strong { color: #f4d16b !important; }
body.layout-v18 .site-footer .footer-cta > div:first-child > p:last-child,
body.layout-v18 .site-footer .footer-column a,
body.layout-v18 .site-footer .footer-column button,
body.layout-v18 .site-footer .footer-location,
body.layout-v18 .site-footer .copyright { color: #e0ebe7 !important; }
body.layout-v18 .site-footer .footer-primary { color: #073f3e !important; background: #f4d16b !important; }
body.layout-v18 .site-footer .footer-secondary { color: #fff !important; }

/* ------------------------------------------------------------ mobile menu "Buyer login" (from ux-final.css, shared) */
@media (max-width: 760px) {
  body.layout-v18 .mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 16px;
  }
  body.layout-v18 .mobile-nav-actions .mobile-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #087c7b;
    border-radius: 3px;
    color: #fff !important;
    background: #087c7b;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}

/* ------------------------------------------------------------ legal pages in 繁中: show each section's Chinese summary */
.legal-zh-notice { display: none; }
html[lang="zh-Hant"] .legal-zh-notice { display: block; }
html[lang="zh-Hant"] .legal-section.has-zh > :not(h2):not(h3):not(.legal-zh) { display: none; }
html[lang="zh-Hant"] .legal-section .legal-zh > strong:first-child { display: none; }

/* ------------------------------------------------------------ empty catalogue (database catalogue not filled in yet) */
.ga-visible-empty .ga-empty-contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid #087c7b;
  color: #087c7b;
  font-weight: 800;
  text-decoration: none;
}
.ga-visible-empty .ga-empty-contact:hover { color: #fff; background: #087c7b; }
.bulk-matrix .matrix-empty {
  margin: 0;
  padding: 24px;
  border: 1px dashed #cfd8d6;
  color: #40514e;
  background: #fff;
  line-height: 1.6;
}
