/*

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

  Developer: Prinseyy

*/

/* GoldAgeHK brand refresh — Tiffany blue, turquoise, white, yellow and warm neutrals. */
:root {
  --turquoise: #27bdb5;
  --turquoise-deep: #087c7b;
  --turquoise-ink: #075657;
  --tiffany: #81d8d0;
  --tiffany-soft: #ddf7f3;
  --yellow: #f4c84b;
  --yellow-soft: #fff0ac;
  --ivory: #fff9f0;
  --cream: #f6e8d9;
  --line: rgba(8, 124, 123, .18);
  --ink: #214c4b;
  --muted: #5c7471;
  --heading: #075657;
  --gold-text: #91610b;
  --gold-bright: #ffd96a;

  --ga-teal-900: #075657;
  --ga-teal-700: #087c7b;
  --ga-teal-500: #27bdb5;
  --ga-gold-700: #805307;
  --ga-gold-600: #91610b;
  --ga-gold-400: #f4c84b;
  --ga-gold-200: #ffeba1;
  --ga-ivory: #fff9f0;
  --ga-paper: #fffdf9;
  --ga-stone: #f3e6d8;
  --ga-ink: #214c4b;
  --ga-muted: #5c7471;
  --ga-readable-ink: #214c4b;
  --ga-readable-heading: #075657;
  --ga-readable-muted: #5c7471;
  --ga-readable-soft: #687e7b;
  --ga-hairline: rgba(8, 124, 123, .16);
  --ga-hairline-strong: rgba(8, 124, 123, .34);
}

html { background: var(--ivory); }
body { color: var(--ink); background: var(--ivory); }
::selection { color: var(--turquoise-ink); background: var(--yellow); }

/* Crisp, warm-white navigation across every page. */
.header-shell,
.registration-topbar,
.legal-header {
  border-color: var(--line) !important;
  background: rgba(255, 255, 255, .96) !important;
}

.nav-links a,
.nav-links summary,
.registration-return,
.legal-header a { color: var(--turquoise-ink) !important; }

.nav-links a:hover,
.nav-links summary:hover,
.registration-return:hover,
.legal-header a:hover { color: var(--turquoise-deep) !important; }

.menu-button {
  border-color: var(--yellow) !important;
  color: var(--turquoise-ink) !important;
  background: var(--yellow) !important;
}

.buyer-button,
.primary-button {
  border-color: var(--turquoise-deep) !important;
  color: #fff !important;
  background: var(--turquoise-deep) !important;
}

.buyer-button:hover,
.primary-button:hover {
  border-color: var(--turquoise-ink) !important;
  background: var(--turquoise-ink) !important;
}

.secondary-button {
  border-color: var(--turquoise-deep) !important;
  color: var(--turquoise-ink) !important;
  background: #fff !important;
}

/* Home hero: cool turquoise tint, warm yellow details, strong white copy. */
.jp-hero { background: var(--turquoise-ink) !important; }
.jp-hero-media img { filter: saturate(.82) contrast(1.04) !important; }
.jp-hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 58, 59, .94) 0%, rgba(4, 86, 86, .72) 36%, rgba(7, 124, 123, .16) 72%, rgba(5, 86, 87, .32) 100%),
    linear-gradient(0deg, rgba(3, 72, 73, .72), transparent 45%) !important;
}

.jp-hero-content,
.jp-hero-content :is(h1, h2, h3, p, a, span) { color: #fff !important; }
.jp-hero-content .eyebrow { color: var(--yellow) !important; }
.jp-hero-content > p:not(.eyebrow) { color: rgba(255, 255, 255, .88) !important; }
.jp-hero-content .primary-button {
  border-color: var(--yellow) !important;
  color: var(--turquoise-ink) !important;
  background: var(--yellow) !important;
}

body.layout-v18.home-page .jp-hero-content {
  color: #fff !important;
  background: rgba(7, 86, 87, .92) !important;
}

/* Browse and collection surfaces. */
.jp-category-nav { background: var(--tiffany-soft) !important; }
.jp-category-links a,
.jp-section-label span { color: var(--turquoise-ink) !important; }
.jp-section-label small { color: var(--muted) !important; }

body.layout-v18.catalogue-final .ga-catalogue {
  background:
    radial-gradient(circle at 100% 0, rgba(129, 216, 208, .24), transparent 30rem),
    linear-gradient(180deg, #fffdf9, var(--ivory)) !important;
}

.ga-catalogue-heading h2,
.ga-sku-area h4,
.jp-services h2,
.jp-services h3,
.jp-faq h2,
.jp-contact h2 { color: var(--turquoise-ink) !important; }

body.layout-v18.catalogue-final .ga-category-row {
  border-color: var(--line) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 22px 52px rgba(7, 86, 87, .09) !important;
}

body.layout-v18.catalogue-final .ga-category-hook {
  color: #fff !important;
  background: var(--turquoise-deep) !important;
}

body.layout-v18.catalogue-final .ga-category-hook-media::after {
  background: linear-gradient(180deg, rgba(7, 86, 87, .12), rgba(7, 86, 87, .96)) !important;
}

body.layout-v18.catalogue-final .ga-category-hook :is(h2, h3, h4) { color: #fff !important; }
body.layout-v18.catalogue-final .ga-category-hook p { color: rgba(255, 255, 255, .84) !important; }
body.layout-v18.catalogue-final .ga-category-hook .jp-kicker { color: var(--yellow) !important; }

.jp-trade-strip,
.jp-feature,
.jp-feature-copy {
  color: #fff !important;
  background: var(--turquoise-deep) !important;
}

body.layout-v18.home-page .jp-trade-strip,
body.layout-v18.home-page .jp-feature,
body.layout-v18.home-page .jp-feature-copy {
  color: #fff !important;
  background: var(--turquoise-deep) !important;
}

.jp-trade-strip :is(h1, h2, h3),
.jp-feature-copy :is(h1, h2, h3) { color: #fff !important; }
.jp-trade-strip p,
.jp-feature-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .84) !important; }
.jp-trade-strip .eyebrow,
.jp-feature-copy .eyebrow { color: var(--yellow) !important; }
.jp-trade-strip .primary-button {
  border-color: var(--yellow) !important;
  color: var(--turquoise-ink) !important;
  background: var(--yellow) !important;
}

.jp-services { background: #fff !important; }
.jp-service-grid { border-color: var(--line) !important; }
.jp-service-grid article { border-color: var(--line) !important; }
.jp-faq { background: var(--ivory) !important; }
.jp-contact { background: var(--tiffany-soft) !important; }
.jp-contact-actions .jp-text-link { color: var(--turquoise-ink) !important; }

/* About and manufacturing image heroes keep their photography, with a brand tint. */
.about-hero,
.manufacturing-page-hero { background: var(--turquoise-ink) !important; }

.about-hero-shade,
.manufacturing-page-shade {
  background: linear-gradient(90deg, rgba(4, 62, 63, .95), rgba(8, 124, 123, .68) 56%, rgba(8, 124, 123, .15)) !important;
}

.about-hero-copy,
.manufacturing-page-hero-copy { color: #fff !important; }
.about-hero-copy :is(h1, h2, h3),
.manufacturing-page-hero-copy :is(h1, h2, h3) { color: #fff !important; }
.about-hero-copy > p:not(.eyebrow),
.manufacturing-page-hero-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .86) !important; }
.about-hero-copy .eyebrow,
.manufacturing-page-hero-copy .eyebrow { color: var(--yellow) !important; }
.about-hero-copy .primary-button,
.manufacturing-page-hero-copy .primary-button {
  border-color: var(--yellow) !important;
  color: var(--turquoise-ink) !important;
  background: var(--yellow) !important;
}

body.layout-v18.about-page .about-hero-copy,
body.layout-v18.manufacturing-page .manufacturing-page-hero-copy {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(7, 86, 87, .94), rgba(8, 124, 123, .78)) !important;
}

body.layout-v18.about-page .about-hero-copy :is(h1, h2, h3),
body.layout-v18.manufacturing-page .manufacturing-page-hero-copy :is(h1, h2, h3) {
  color: #fff !important;
}

body.layout-v18.manufacturing-page :where(
  .section-heading h2,
  .manufacturing-services h2,
  .manufacturer-procedure > .section-heading h2,
  .job-cards-section h2,
  .bulk-order-section h2,
  .estimator-copy h2
) { color: var(--turquoise-ink) !important; }

.about-story,
.about-appointments,
.manufacturing-services,
.manufacturer-procedure,
.manufacturing-estimator,
.manufacturing-bulk-section,
.manufacturing-reference-gallery,
.manufacturing-request { background-color: var(--ivory); }

.about-values { background: var(--line) !important; }
.about-values article,
.service-grid article { background: #fff !important; }

.manufacturer-procedure ol { background: var(--line) !important; }
.manufacturer-procedure li {
  color: #fff !important;
  background: var(--turquoise-deep) !important;
}
.manufacturer-procedure li :is(h2, h3, h4) { color: #fff !important; }
.manufacturer-procedure li p { color: rgba(255, 255, 255, .82) !important; }
.manufacturer-procedure li span { color: var(--yellow) !important; }

.calc-headline,
.bulk-summary,
.custom-request-form,
.manufacturing-estimate-output:not(:empty),
.live-estimate {
  color: #fff !important;
  background: var(--turquoise-deep) !important;
}

.calc-headline :is(h1, h2, h3, h4),
.bulk-summary :is(h1, h2, h3, h4),
.custom-request-form :is(h1, h2, h3, h4),
.manufacturing-estimate-output :is(h1, h2, h3, h4),
.live-estimate :is(h1, h2, h3, h4) { color: #fff !important; }

.calc-headline span,
.bulk-summary dt,
.custom-request-form .eyebrow { color: var(--yellow) !important; }
.bulk-summary .primary-button,
.custom-request-form .primary-button {
  border-color: var(--yellow) !important;
  color: var(--turquoise-ink) !important;
  background: var(--yellow) !important;
}

/* Registration and legal pages use soft Tiffany and warm paper, without harsh green blocks. */
.registration-main {
  background:
    radial-gradient(circle at 100% 0, rgba(129, 216, 208, .25), transparent 34rem),
    var(--ivory) !important;
}
.registration-intro {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--tiffany-soft), var(--cream)) !important;
}
.registration-intro h1 { color: var(--turquoise-ink) !important; }
.registration-standalone,
.registration-table { border-color: var(--line) !important; background: #fff !important; }

.legal-shell { color: var(--ink); background: var(--ivory); }
.legal-shell h1,
.legal-section h2,
.legal-section h3 { color: var(--turquoise-ink) !important; }
.legal-note { border-left-color: var(--yellow) !important; background: var(--yellow-soft) !important; }

/* Green/turquoise panels always receive white headings. */
:where(
  .jp-hero-content,
  .ga-category-hook,
  .jp-trade-strip,
  .jp-feature-copy,
  .ga-operation-card,
  .about-hero-copy,
  .manufacturing-page-hero-copy,
  .manufacturer-procedure li,
  .calc-headline,
  .bulk-summary,
  .custom-request-form,
  .manufacturing-estimate-output,
  .live-estimate,
  .footer-cta,
  .site-footer,
  .registration-footer,
  .legal-footer
) :is(h1, h2, h3, h4, h5, h6) { color: #fff !important; }

/* Footer uses the same turquoise family instead of near-black green. */
.site-footer,
.registration-footer,
.legal-footer {
  color: #fff !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 200, 75, .22), transparent 24rem),
    linear-gradient(145deg, var(--turquoise-deep), var(--turquoise-ink)) !important;
}
.site-footer::before { opacity: .12 !important; }
.site-footer .eyebrow,
.site-footer strong,
.site-footer .footer-column strong,
.site-footer .footer-contact a { color: var(--yellow) !important; }
.site-footer p,
.site-footer small,
.site-footer a,
.site-footer button,
.registration-footer,
.registration-footer a,
.legal-footer { color: rgba(255, 255, 255, .84) !important; }
.footer-cta h2,
.site-footer .footer-quick-links strong { color: #fff !important; }
.footer-cta-actions .footer-primary {
  border-color: var(--yellow) !important;
  color: var(--turquoise-ink) !important;
  background: var(--yellow) !important;
}

/* Inputs and focus states reflect the new palette. */
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline-color: var(--yellow) !important;
  border-color: var(--turquoise-deep) !important;
}

/* Product photography: real alternate angles from the supplied GoldAge archive. */
body.catalogue-final .product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

body.catalogue-final .product-thumbs button {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 5px 5px 8px;
  overflow: hidden;
  background: #fff;
}

body.catalogue-final .product-thumbs button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: calc(var(--ga-radius) - 2px);
  object-fit: cover;
  background: var(--ivory);
}

body.catalogue-final .product-thumbs button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.catalogue-final .product-thumbs button[aria-pressed="true"] {
  color: #fff;
  background: var(--turquoise-deep);
}

@media (max-width: 780px) {
  .registration-intro { padding: 26px 20px; }
  .jp-contact { background: var(--tiffany-soft) !important; }
  body.catalogue-final .product-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  .ga-category-hook,
  .jp-trade-strip,
  .jp-feature,
  .manufacturer-procedure li,
  .site-footer { background: #fff !important; color: #000 !important; }
  :where(.ga-category-hook, .jp-trade-strip, .jp-feature, .manufacturer-procedure li, .site-footer) :is(h1, h2, h3, h4, p) { color: #000 !important; }
}
