/* Served from /critical.css — works even when /_next/static CSS fails to load. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background-color: #050810;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background-color: #050810;
  color: #f4f4f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

button,
[role="button"],
a[href][class*="border"],
a[href][class*="inline-flex"],
a[href][class*="rounded"],
a.gh-auth-link,
a.gh-contact {
  -webkit-tap-highlight-color: rgba(229, 193, 88, 0.18);
  touch-action: manipulation;
  transform-origin: center;
  transition-property: transform, border-color, box-shadow, background-color,
    color, opacity, filter;
  transition-duration: 140ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
button:not(:disabled):active,
[role="button"]:not([aria-disabled="true"]):active,
a[href][class*="border"]:active,
a[href][class*="inline-flex"]:active,
a[href][class*="rounded"]:active,
a.gh-auth-link:active,
a.gh-contact:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(1.08);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.34);
}
button[aria-pressed="true"],
button[aria-selected="true"],
[role="button"][aria-pressed="true"],
[role="button"][aria-selected="true"],
[aria-current="page"] {
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 176, 0.18),
    0 0 18px rgba(229, 193, 88, 0.16);
}
@media (hover: hover) and (pointer: fine) {
  button:not(:disabled):hover,
  [role="button"]:not([aria-disabled="true"]):hover,
  a[href][class*="border"]:hover,
  a[href][class*="inline-flex"]:hover,
  a[href][class*="rounded"]:hover,
  a.gh-auth-link:hover,
  a.gh-contact:hover {
    filter: brightness(1.06);
    box-shadow: 0 0 18px rgba(229, 193, 88, 0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  button,
  [role="button"],
  a[href][class*="border"],
  a[href][class*="inline-flex"],
  a[href][class*="rounded"],
  a.gh-auth-link,
  a.gh-contact {
    transition-duration: 1ms;
  }
  button:not(:disabled):active,
  [role="button"]:not([aria-disabled="true"]):active,
  a[href][class*="border"]:active,
  a[href][class*="inline-flex"]:active,
  a[href][class*="rounded"]:active,
  a.gh-auth-link:active,
  a.gh-contact:active {
    transform: none;
  }
}

#gems-global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  max-width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 193, 88, 0.15);
  background: rgba(5, 8, 16, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#gems-global-header a {
  text-decoration: none;
}
#gems-global-header .gh-bar-inner {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.375rem;
  min-width: 0;
  overflow: hidden;
  padding: 0 clamp(1.35rem, 5.75vw, 1.65rem);
}
#gems-global-header .gh-left {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}
#gems-global-header .gh-brand {
  display: inline-block;
  max-width: 35vw;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  color: #e5c158;
}
#gems-global-header .gh-mobile-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0.5rem;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#gems-global-header .gh-mobile-chat {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 4px 8px;
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
#gems-global-header .gn-opening-status-pill {
  gap: 0.375rem;
  padding: 4px 8px;
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.08em;
}
#gems-global-header .gn-opening-status-dot {
  width: 5px;
  height: 5px;
}
#gems-global-header .gn-live-chat-pill {
  padding: 4px 8px;
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.08em;
}
#gems-global-header .gh-mobile-status[data-state="open"] {
  color: #dfffe9;
  border-color: rgba(61, 255, 143, 0.9);
  background: rgba(16, 40, 23, 0.72);
}
#gems-global-header .gh-mobile-status[data-state="closed"] {
  color: #ffd9d9;
  border-color: rgba(255, 77, 77, 0.7);
  background: rgba(42, 16, 16, 0.55);
}
#gems-global-header .gh-mobile-status[data-state="open"] span {
  background: #33ff7a;
}
#gems-global-header .gh-mobile-status[data-state="closed"] span {
  background: #ff3838;
}
#gems-global-header .gh-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
#gems-global-header .gh-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  #gems-global-header .gh-bar-inner {
    justify-content: space-between;
    gap: 0;
    padding: 0 1.5rem;
  }
  #gems-global-header .gh-left {
    flex: 0 1 auto;
    gap: 2.5rem;
  }
  #gems-global-header .gh-brand {
    max-width: none;
    flex: 0 0 auto;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
  }
  #gems-global-header .gh-mobile-status {
    display: none;
  }
  #gems-global-header .gh-mobile-chat {
    display: none;
  }
  #gems-global-header .gh-nav {
    display: flex;
  }
}
#gems-global-header .gh-nav > a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #a1a1aa;
}
#gems-global-header .gh-right {
  display: flex;
  margin-left: auto;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}
#gems-global-header .gh-right > a,
#gems-global-header .gh-right > button {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a1a1aa;
  white-space: nowrap;
}
#gems-global-header .gh-language-toggle {
  width: 60px;
  height: 24px;
  padding: 1px;
}
#gems-global-header .gh-language-toggle button {
  height: 22px;
  padding: 0;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0;
}
#gems-global-header .gh-contact {
  display: none;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  border: 1px solid rgba(229, 193, 88, 0.5);
  color: #e5c158;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  #gems-global-header .gh-contact {
    display: inline-flex;
  }
}
#gems-global-header[data-auth-state="signed-in"] .gh-right {
  display: flex;
}
@media (min-width: 768px) {
  #gems-global-header .gh-right {
    display: flex;
    margin-left: auto;
    gap: 1.5rem;
  }
  #gems-global-header .gh-right > a,
  #gems-global-header .gh-right > button {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
  }
}
@media (max-width: 767px) {
  #gems-global-header .gh-bar-inner {
    gap: 0.25rem;
    padding: 0 clamp(0.85rem, 3.8vw, 1rem);
  }
  #gems-global-header .gh-left {
    gap: 0.35rem;
  }
  #gems-global-header .gh-brand {
    max-width: 7.7rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
  #gems-global-header .gh-mobile-status,
  #gems-global-header .gn-opening-status-pill {
    margin-left: 0.375rem;
    gap: 0.25rem;
    padding: 3px 6px;
    font-size: 7.5px;
    letter-spacing: 0.07em;
  }
  #gems-global-header .gn-opening-status-dot {
    width: 4px;
    height: 4px;
  }
  #gems-global-header .gh-mobile-chat,
  #gems-global-header .gn-live-chat-pill {
    padding: 3px 6px;
    font-size: 7.5px;
    letter-spacing: 0.07em;
  }
  #gems-global-header .gh-right {
    gap: 0.25rem;
  }
  #gems-global-header .gh-auth-link {
    width: 5rem;
    height: 2rem;
    margin-right: 0;
    font-size: 0.69rem;
    letter-spacing: 0.1em;
    color: #d7d8de;
  }
}
@media (max-width: 380px) {
  #gems-global-header .gh-mobile-status {
    margin-left: 0.25rem;
  }
  #gems-global-header .gh-brand {
    max-width: 6.95rem;
    font-size: 0.9rem;
    letter-spacing: 0.065em;
  }
  #gems-global-header .gh-right > a,
  #gems-global-header .gh-right > button {
    font-size: 0.66rem;
    letter-spacing: 0.07em;
  }
  #gems-global-header .gh-auth-link {
    margin-right: 0;
  }
  #gems-global-header .gh-mobile-chat {
    padding: 3px 6px;
    font-size: 7.5px;
    letter-spacing: 0.07em;
  }
}

body > footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0a0a0a;
  padding: 3rem 1.5rem;
}
body > footer a {
  color: #52525b;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

[data-customer-dashboard],
[data-diamond-search-page],
[data-staff-workspace] {
  box-sizing: border-box;
  width: var(--gn-vw, 100%);
  max-width: var(--gn-vw, 100%);
  contain: inline-size;
  overflow-x: hidden;
}
[data-customer-dashboard],
[data-customer-dashboard] main,
[data-customer-dashboard] section,
[data-customer-dashboard] article,
[data-customer-dashboard] form,
[data-diamond-search-page],
[data-diamond-search-page] main,
[data-diamond-search-page] section,
[data-diamond-search-page] article,
[data-diamond-search-page] form,
[data-staff-workspace],
[data-staff-workspace] main,
[data-staff-workspace] section,
[data-staff-workspace] article,
[data-staff-workspace] details,
[data-certified-diamond-search] {
  max-width: 100%;
  overflow-x: hidden;
}
body:has([data-staff-workspace]) #gems-global-header {
  left: 0;
  max-width: var(--gn-vw, 100%);
  width: var(--gn-vw, 100%);
}
body:has([data-staff-workspace]) #gems-global-header .gh-bar-inner {
  max-width: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  [data-certified-diamond-search] input,
  [data-certified-diamond-search] select,
  [data-certified-diamond-search] textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
  }
}

/* —— Factory pricing board (/metal, /quotes) —— */
[data-pricing-board] {
  min-height: 100vh;
  background-color: transparent;
  color: #f4f4f5;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
[data-pricing-board] .pb-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-top: 7rem;
}
@media (min-width: 640px) {
  [data-pricing-board] .pb-inner {
    padding: 3rem;
    padding-top: 8rem;
  }
}
[data-pricing-board] .pb-page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}
[data-pricing-board] .pb-page-header h1 {
  color: #e5c158;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.2em;
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0;
}
[data-pricing-board] .pb-sub {
  font-size: 0.75rem;
  color: #8f8f96;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}
[data-pricing-board] .pb-sync {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
[data-pricing-board] .pb-sync time,
[data-pricing-board] .pb-sync span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(229, 193, 88, 0.7);
}
[data-pricing-board] .pb-market {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4rem;
  padding: 1.5rem;
  background: rgba(11, 16, 30, 0.8);
  border: 1px solid rgba(229, 193, 88, 0.3);
  border-radius: 0.75rem;
  min-width: 300px;
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.1);
}
[data-pricing-board] .pb-market-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
[data-pricing-board] .pb-market-label {
  font-size: 10px;
  font-weight: 700;
  color: #8f8f96;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}
[data-pricing-board] .pb-market-gold {
  font-size: 2.25rem;
  font-family: Georgia, serif;
  color: #e5c158;
}
[data-pricing-board] .pb-market-fx {
  font-size: 2.25rem;
  font-family: Georgia, serif;
  color: #5c72a6;
}
[data-pricing-board] .pb-market-rule {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
}
[data-pricing-board] .metal-cards-container {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 16px);
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
[data-pricing-board] .pb-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: clamp(8px, 2vw, 16px);
}
[data-pricing-board] .pb-row--center {
  justify-content: center;
}
[data-pricing-board] .pb-gold-card {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(100px, 22vw, 180px);
  background: #0b101e;
  border: 1px solid rgba(229, 193, 88, 0.4);
  border-radius: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem;
  padding-top: 1rem;
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.25);
}
[data-pricing-board] .pb-pt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(100px, 22vw, 180px);
  background: #121626;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem;
  padding-top: 1rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
[data-pricing-board] .pb-card-title {
  font-size: clamp(11.5px, 2.5vw, 1.25rem);
  font-family: Georgia, serif;
  letter-spacing: 0.1em;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}
[data-pricing-board] .pb-card-title--gold {
  color: #e5c158;
}
[data-pricing-board] .pb-card-title--pt95 {
  color: #d4dded;
}
[data-pricing-board] .pb-card-title--pt90 {
  color: #a0b2c6;
}
[data-pricing-board] .pb-price-wrap {
  margin-top: -1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
}
[data-pricing-board] .pb-price {
  font-size: min(30px, 6vw);
  font-family: Georgia, serif;
  color: #fff;
  transform: translateY(-5px);
}
[data-pricing-board] .pb-price--muted {
  color: rgba(255, 255, 255, 0.9);
}
[data-pricing-board] .pb-unit {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(229, 193, 88, 0.5);
}
[data-pricing-board] .pb-unit--muted {
  color: rgba(255, 255, 255, 0.4);
}
[data-pricing-board] .pb-unit--pt {
  color: rgba(160, 178, 198, 0.5);
}
