:root {
  color-scheme: light;
  --paper: #faf8f3;
  --surface: #fffdf9;
  --ink: #19263b;
  --muted: #585e67;
  --blue: #193653;
  --blue-deep: #122a45;
  --gold: #946b3c;
  --line: #e2dbce;
  --wash: #f1ebe0;
  --serif: "Songti TC", "Noto Serif TC", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

:lang(en) { --serif: Georgia, "Times New Roman", serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #526e97; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.12; }
.shell { width: min(100% - clamp(28px, 7vw, 100px), 1320px); margin-inline: auto; }
#main:focus { outline: none; }
#shop, #materials, #markets { scroll-margin-top: 20px; }

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 10;
  padding: 9px 16px;
  color: white;
  background: var(--blue);
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: none; }

.top-note {
  padding: 6px 12px;
  background: var(--blue-deep);
  color: #fffcf3;
  text-align: center;
  font-size: .8125rem;
  letter-spacing: .055em;
}

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 80px;
}
.brand {
  width: fit-content;
  font: 700 clamp(1.6rem, 2.4vw, 2.12rem)/1 Georgia, serif;
  letter-spacing: -.075em;
  white-space: nowrap;
}
.brand span {
  margin-left: .32rem;
  font: 650 .625rem/1 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  vertical-align: middle;
}
.header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); font-size: .9rem; }
.header nav a, .language { display: inline-flex; align-items: center; min-height: 44px; }
.header nav a:hover, .language:hover, .footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 5px; }
.language { padding-inline: 7px; font-size: .875rem; white-space: nowrap; }
.icon, .close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: 7px;
  background: transparent;
}
.icon:hover, .close:hover { background: var(--wash); }
.icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cart-toggle { gap: 5px; }
#cart-count { min-width: 23px; border-radius: 50px; padding: 1px 5px; background: var(--blue); color: white; text-align: center; font-size: .8125rem; }

.hero { position: relative; }
.hero-slide {
  --hero-tone: #101827;
  --hero-height: clamp(350px, 35.5vw, 740px);
  position: relative;
  isolation: isolate;
  min-height: var(--hero-height);
  overflow: hidden;
  background: var(--hero-tone);
  color: #fffaf0;
}
.hero-pearls { --hero-tone: #362426; }
.hero-stones { --hero-tone: #27190f; }
.hero-slide picture, .hero-slide::after { position: absolute; z-index: -1; inset: 0; }
.hero-slide::after {
  content: "";
  background: linear-gradient(90deg, transparent 39%, rgba(20, 15, 12, .15) 65%, rgba(20, 15, 12, .22));
}
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 41% center; }
.hero-plate {
  display: grid;
  grid-template-columns: minmax(0, 49fr) minmax(0, 51fr);
  align-items: center;
  min-height: var(--hero-height);
  padding-block: 28px 72px;
}
.hero-content { grid-column: 2; text-align: center; padding-inline: clamp(8px, 2vw, 30px); }
.eyebrow {
  margin-bottom: 12px;
  color: #76522c;
  font-size: .8125rem;
  font-weight: 660;
  letter-spacing: .11em;
}
.hero h2 {
  color: inherit;
  font-size: clamp(2.1rem, 4.9vw, 5.4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: .02em;
}
.hero h2:lang(en) { font-size: clamp(1.92rem, 4.55vw, 5.1rem); letter-spacing: -.045em; }
.hero-title-line { display: block; }
.hero-description { margin: 15px auto 0; max-width: 37ch; color: #f6ebdd; text-wrap: balance; }
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 8px 18px;
  border: 1px solid #fffaeead;
  border-radius: 2px;
  color: #fffaf0;
  font-size: .9rem;
  font-weight: 650;
}
.hero-link:hover { background: #fffaf0; color: var(--blue-deep); }
.hero :focus-visible { outline-color: #fffcf3; }
.hero-controls {
  position: absolute;
  bottom: 13px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  padding: 0 5px;
  border: 1px solid #fffaf046;
  border-radius: 999px;
  background: #171b23d9;
  color: #fffaf0;
}
.hero-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
}
.hero-controls button:hover { background: #fffaf029; }
.hero-controls .hero-indicator { width: 32px; }
.hero-indicator span { width: 16px; height: 2px; border-radius: 3px; background: #fffaf080; }
.hero-indicator[aria-pressed="true"] span { width: 22px; background: #fffaee; }
.hero-controls [data-hero-pause] { font-size: .73rem; }
.hero-slide.is-changing .hero-content { animation: hero-reveal .42s ease both; }
@keyframes hero-reveal { from { opacity: .35; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-changing .hero-content { animation: none; } }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 16px;
  background: transparent;
  font-weight: 630;
  text-align: center;
}
.primary { border-color: var(--blue); padding-inline: 19px; background: var(--blue); color: white; }
.primary:hover { background: var(--blue-deep); }
.secondary:hover { background: var(--wash); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--blue); font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #6d4924; }

.shop { padding: clamp(45px, 6.4vw, 94px) 0 clamp(54px, 7vw, 104px); }
.section-heading :is(h1, h2), .materials h1, .markets h1 { color: var(--blue-deep); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 600; }
.section-heading :is(h1, h2):lang(en), .materials h1:lang(en), .markets h1:lang(en) { letter-spacing: -.04em; }
.filters {
  display: grid;
  grid-template-columns: minmax(145px, 1.35fr) repeat(3, minmax(120px, 1fr));
  align-items: end;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 16px 16px;
  background: #f3efe6;
}
.filter-field { display: grid; gap: 5px; min-width: 0; }
.filter-field label { font-size: .875rem; font-weight: 670; }
.filter-field input, .filter-field select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #ccc2b2; border-radius: 3px; padding: 7px 10px; background-color: var(--surface); }
.filter-field input::placeholder { color: #686762; opacity: 1; }
.filter-field select {
  appearance: none;
  padding-right: 29px;
  background-image: linear-gradient(45deg, transparent 48%, currentColor 50%, currentColor 65%, transparent 67%), linear-gradient(135deg, transparent 33%, currentColor 35%, currentColor 50%, transparent 52%);
  background-size: 5px 5px;
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
}
.catalog-results { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 10px; color: var(--muted); font-size: .875rem; }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.65vw, 24px); }
.products article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 1px 2px #392c1309;
}
.products article:focus-within { border-color: #ae8e68; }
.product-overview { display: block; flex: 1; }
.product-overview:focus-visible { outline-offset: -3px; }
.product-image { overflow: hidden; background: var(--wash); }
.product-image img { aspect-ratio: 1; object-fit: contain; transition: transform .25s ease; }
.product-overview:hover img { transform: scale(1.025); }
.product-overview:hover .product-title { text-decoration: underline; text-underline-offset: 4px; }
.product-meta { color: #5f5b54; font-size: .78rem; line-height: 1.4; }
.product-description { display: grid; gap: 4px; padding: 10px 12px 3px; }
.product-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; padding-inline: 12px; }
.product-title { font-size: 1rem; font-weight: 650; line-height: 1.33; overflow-wrap: anywhere; }
.price { color: var(--blue); font-variant-numeric: tabular-nums; font-size: .9375rem; font-weight: 680; }
.quick-view { font-size: .8rem; }
.empty { grid-column: 1 / -1; padding: 36px 16px; background: var(--wash); text-align: center; }

.materials { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); border: 1px solid var(--line); background: #f3ede2; }
.materials-photo img { height: 100%; min-height: 340px; object-fit: cover; }
.materials-copy { padding: clamp(24px, 4.3vw, 67px); }
.materials h1, .markets h1 { margin-bottom: 12px; font-size: clamp(1.85rem, 3.15vw, 3rem); }
.materials dl { margin: 18px 0 0; }
.materials dl div { border-top: 1px solid #d8cebe; padding: 10px 0; }
.materials dt { color: var(--blue-deep); font-weight: 670; }
.materials dd { margin: 3px 0 0; color: var(--muted); }
.markets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px 36px; padding: clamp(30px, 4.6vw, 64px); margin-block: 24px clamp(54px, 7vw, 94px); background: var(--blue-deep); color: #fffcf7; }
.markets .eyebrow { color: #ead3ad; }
.markets h1 { margin-bottom: 0; color: inherit; }
.markets p:last-child { max-width: 57ch; }

footer { border-top: 1px solid var(--line); background: #f0ebdf; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 86px; padding-block: 19px; }
.footer-inner p { color: var(--muted); font-size: .875rem; }
dialog { width: min(790px, 100% - 24px); max-height: calc(100% - 24px); border: 1px solid var(--line); border-radius: 5px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 12px 50px #101f4460; }
dialog::backdrop { background: #162338b0; }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 10px 16px; background: var(--paper); }
.dialog-head h2 { font-size: clamp(1.38rem, 3vw, 1.8rem); overflow-wrap: anywhere; }
.close { font-size: 1.85rem; line-height: 1; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.detail-content img { aspect-ratio: 1; object-fit: cover; }
.detail-copy { padding: clamp(17px, 3vw, 30px); }
.detail-copy > p { margin-bottom: 12px; }
.detail-materials { border-left: 2px solid #b3966f; padding-left: 10px; font-size: .9rem; }
.drawer { width: min(480px, 100%); height: 100%; max-height: 100%; max-width: 100%; margin: 0 0 0 auto; border-radius: 0; }
#cart-body { padding: 16px 20px 22px; }
.cart-row { display: grid; grid-template-columns: minmax(48px, 70px) minmax(0, 1fr) auto; align-items: start; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.cart-row img { aspect-ratio: 1; object-fit: cover; }
.cart-row h3 { overflow-wrap: anywhere; font-size: .9375rem; }
.quantity { display: inline-flex; align-items: center; gap: 7px; margin-top: 5px; }
.quantity button { width: 39px; height: 42px; border: 1px solid var(--line); background: var(--surface); }
.remove { display: block; min-height: 40px; margin-left: auto; border: 0; padding: 3px 0; background: transparent; color: var(--muted); text-decoration: underline; }
.summary { margin: 17px 0; font-variant-numeric: tabular-nums; }
.summary p { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary .total { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 9px; font-weight: 720; }
.wide { width: 100%; }
.checkout-note, .checkout-provider-note { color: var(--muted); }
.checkout .secondary { margin-top: 9px; }
.checkout-options { display: grid; gap: 8px; margin: 13px 0; }
.checkout-option { border: 1px solid var(--line); border-radius: 4px; padding: 10px 13px; background: var(--surface); }
.checkout-option h3 { font-size: 1rem; }
.checkout-option p, .checkout-provider-note { font-size: .875rem; }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 3px; }
.purchase-actions a { font-size: .875rem; }
.cart-row .purchase-actions { display: grid; justify-items: start; }
.checkout-provider-note { margin: 10px 0; }
.toast { position: fixed; z-index: 2; inset: auto auto 16px 50%; translate: -50% 0; width: max-content; max-width: calc(100% - 24px); border-radius: 3px; padding: 8px 14px; background: var(--blue); color: white; box-shadow: 0 4px 20px #0f214937; }
.toast:empty { display: none; }

@media (max-width: 940px) {
  .header { grid-template-columns: 1fr auto; gap: 0; padding-top: 9px; }
  .header nav { grid-area: 2 / 1 / 3 / 3; padding-bottom: 4px; }
  .header-actions { grid-area: 1 / 2; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 710px) {
  .materials, .markets { grid-template-columns: 1fr; }
  .hero-slide { --hero-height: clamp(397px, 112vw, 560px); }
  .hero-slide picture { height: 69%; }
  .hero-slide::after { background: linear-gradient(180deg, transparent 28%, var(--hero-tone) 68%); }
  .hero-image { object-position: center 37%; }
  .hero-plate { grid-template-columns: 1fr; align-items: end; padding-block: 14px 71px; }
  .hero-content { grid-column: 1; padding-inline: 0; }
  .hero h2 { font-size: clamp(2rem, 8.8vw, 3.65rem); }
  .hero h2:lang(en) { font-size: clamp(1.82rem, 8vw, 3.25rem); }
  .hero-description { margin-top: 9px; font-size: .875rem; }
  .hero-link { margin-top: 12px; }
  .filters, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { gap: 9px; padding: 10px; }
  .products { gap: 10px; }
  .product-meta { margin: 9px 8px 3px; }
  .product-description { padding: 0 8px 8px; }
  .product-title { font-size: .9375rem; }
  .materials-photo img { min-height: 0; max-height: 310px; aspect-ratio: 1.65; }
}
@media (max-width: 460px) {
  .header .brand span { display: none; }
  .header nav { gap: 16px; font-size: .875rem; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-content img { max-height: 42svh; aspect-ratio: 1.3; object-fit: contain; background: var(--wash); }
  #cart-body { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.catalog-layout {
  display: grid;
  grid-template-columns: clamp(170px, 17vw, 220px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(15px, 2.15vw, 30px);
  margin-top: clamp(18px, 2.4vw, 34px);
}

.category-sidebar {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 10px 10px;
  background: var(--surface);
}
.category-sidebar h3 {
  padding: 0 9px 10px;
  color: var(--blue-deep);
  font-size: 1rem;
}
.category-sidebar ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.category-sidebar button {
  display: block;
  width: 100%;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 7px 9px;
  color: var(--blue-deep);
  background: transparent;
  text-align: left;
  overflow-wrap: anywhere;
  font-size: .9rem;
  line-height: 1.35;
}
.category-sidebar button:hover { border-color: var(--line); background: var(--wash); }
.category-sidebar button[data-material="popular"] { font-weight: 700; }
.category-sidebar button[data-material="popular"][aria-pressed="false"] { border-color: var(--line); background: #f3eadd; }
.category-sidebar button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.sidebar-style { margin: 0 0 9px; border-bottom: 1px solid var(--line); padding: 10px 3px 12px; }
.mobile-material, .mobile-style { display: none; }
.catalog-main .filters { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

@media (max-width: 860px) {
  .catalog-layout { display: block; }
  .category-sidebar { display: none; }
  .mobile-material, .mobile-style { display: grid; }
  .catalog-main .search-field { grid-column: 1 / -1; }
  .catalog-main .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#signature, #shopping-info, #catalog-filters { scroll-margin-top: 20px; }
.signature { padding-top: clamp(40px, 5vw, 76px); }
.signature .section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 20px; }
.signature-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); margin-top: 14px; }
.signature-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); }
.signature-card img { aspect-ratio: 1.08; object-fit: contain; background: var(--wash); }
.signature-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.signature-copy { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: clamp(11px, 1.6vw, 22px); }
.signature-label { color: #76522c; font-size: .8125rem; font-weight: 680; }
.signature-copy h3 { font: 600 clamp(1.06rem, 1.8vw, 1.55rem)/1.25 var(--serif); }
.signature-price { margin-top: auto; padding-top: 5px; font-size: .93rem; font-weight: 650; }
.signature-price span { color: var(--muted); font-size: .78rem; font-weight: 400; }

.product-page { padding-block: clamp(17px, 3vw, 44px) clamp(42px, 6.5vw, 94px); }
.product-page > .text-link { margin-bottom: 14px; }
.product-page-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 72px); align-items: start; }
.product-page-photo { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 4px; background: var(--wash); object-fit: contain; }
.product-page-copy h1, .product-page > h1 { color: var(--blue-deep); font-size: clamp(2rem, 4.4vw, 4.3rem); font-weight: 600; margin-bottom: 16px; overflow-wrap: break-word; }
.product-specs { margin-block: 16px; font-size: .91rem; }
.product-specs div { padding-block: 8px; border-block-start: 1px solid var(--line); }
.product-specs dt { font-weight: 690; }
.product-specs dd { margin: 3px 0 0; color: var(--muted); }
.product-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; margin-bottom: 12px; }
.product-amount strong { font-size: 1.55rem; }
.product-amount span { color: var(--muted); font-size: .8125rem; }
.preview-note { padding: 10px 12px; border-left: 2px solid var(--gold); background: var(--wash); color: #394457; font-size: .875rem; }
.product-actions { margin-block: 12px 2px; }

.shopping-info { padding-block: clamp(30px, 4.5vw, 62px) clamp(18px, 2vw, 32px); }
.shopping-info h1 { margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.65rem); }
.shopping-info details { border-top: 1px solid var(--line); }
.shopping-info details:last-child { border-bottom: 1px solid var(--line); }
.shopping-info summary { min-height: 46px; padding: 11px 2px; color: var(--blue-deep); font-weight: 650; cursor: pointer; }
.shopping-info details p { padding: 0 2px 14px; color: var(--muted); max-width: 72ch; }

@media (max-width: 710px) {
  .product-page-layout { grid-template-columns: minmax(0, 1fr); }
  .product-page-photo { max-height: min(430px, 89vw); }
  .signature-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer-inner { padding-block: clamp(22px, 3vw, 42px); gap: 12px 24px; }
.footer-brand { min-width: 0; }
.footer-brand .brand { display: inline-block; white-space: normal; }
.footer-brand .brand > span { display: inline-block; line-height: 1.45; }
.footer-brand .footer-chinese { letter-spacing: .08em; }
.footer-brand .footer-motto { margin-top: 9px; color: var(--blue-deep); font-weight: 650; }
.footer-links, .product-page-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-maker { margin-bottom: 10px; color: var(--blue-deep); font-size: .9rem; font-weight: 680; }
.product-maker span { margin-inline-start: .35em; white-space: nowrap; }
.product-page-copy > .eyebrow { margin-bottom: 6px; }


.type-picks { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.type-picks button {
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--blue-deep);
  font-size: .875rem;
  font-weight: 640;
}
.type-picks button:hover { border-color: var(--blue); }
.type-picks button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.product-amount { margin-top: 12px; }
.related-products { margin-top: clamp(36px, 6vw, 78px); border-top: 1px solid var(--line); padding-top: 24px; }
.related-products h2 { margin-bottom: 14px; color: var(--blue-deep); font-size: clamp(1.55rem, 3vw, 2.5rem); }
.related-products .products { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 990px; }

@media (max-width: 600px) {
  .type-picks button { padding-inline: 9px; }
  .related-products .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.newsletter {
  width: min(790px, 100% - 28px);
  max-height: calc(100dvh - 28px);
  border: 0;
  border-radius: 6px;
}
.newsletter[open] { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.newsletter-photo { min-height: 100%; background: #e8dcc7 url("images/jewelry/hero.jpg") 48% center / cover no-repeat; }
.newsletter-content { position: relative; padding: 38px clamp(20px, 4vw, 44px) 22px; background: var(--surface); }
.newsletter-close { position: absolute; top: 7px; right: 9px; }
.newsletter-content h2 { color: var(--blue-deep); font-size: clamp(1.9rem, 4vw, 2.75rem); }
.newsletter-content .eyebrow { padding-right: 20px; }
#newsletter-intro { margin-top: 12px; color: var(--muted); }
#newsletter-form { display: grid; gap: 7px; margin-top: 16px; }
#newsletter-email-label { font-size: .875rem; font-weight: 650; }
#newsletter-email { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #ad9f8f; border-radius: 3px; background: white; }
#newsletter-consent, #newsletter-status { color: var(--muted); font-size: .8125rem; }
#newsletter-status:empty { display: none; }
#newsletter-status[data-error] { color: #8b311f; }
#newsletter-submit { margin-top: 4px; }
#newsletter-submit:disabled { opacity: .65; cursor: wait; }
#newsletter-dismiss { margin-top: 5px; }

@media (max-width: 600px) {
  .newsletter[open] { grid-template-columns: minmax(0, 1fr); }
  .newsletter-photo { min-height: min(25vh, 155px); background-position: 50% 51%; }
  .newsletter-content { padding-top: 29px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.announcement { background: var(--blue-deep); color: #fffcf3; }
.announcement-inner { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 44px; align-items: center; min-height: 62px; gap: 4px; }
.announcement-messages { grid-column: 2; padding: 8px 3px; text-align: center; font-size: .98rem; font-weight: 640; }
.announcement-messages a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announcement button {
  min-height: 44px;
  padding: 0;
  border: 1px solid #ffffff45;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
}
.announcement button:hover { background: #ffffff22; }
#announcement-pause { font-size: .75rem; }
.store-top { border-bottom: 1px solid var(--line); background: #f3eee4; }
.store-utility { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 18px; }
.store-utility .top-note { padding: 5px 0; background: transparent; color: var(--muted); font-size: .75rem; letter-spacing: 0; }
.service-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 15px; }
.service-links a, .service-links button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue-deep);
  font-size: .8rem;
  font-weight: 650;
}
.service-links a:hover, .service-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.shop-service { width: min(495px, 100% - 28px); }
.shop-service-body { padding: 19px 20px 25px; }
.shop-service-body button { margin-top: 13px; }
@media (max-width: 850px) {
  .store-utility { justify-content: center; }
}
@media (max-width: 480px) {
  .announcement-inner { grid-template-columns: 36px minmax(0, 1fr) 36px 36px; min-height: 58px; }
  .announcement button { min-height: 38px; }
  .announcement-messages { font-size: .85rem; }
  .service-links { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; }
  .service-links a, .service-links button { min-height: 38px; justify-content: center; text-align: center; }
}

#accessories { scroll-margin-top: 20px; }
.accessories { margin-bottom: clamp(36px, 6vw, 72px); }
.accessories-note { color: var(--muted); margin-top: 8px; }
.accessories-audience-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.accessories-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.accessories-menu button {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 11px;
  min-height: 44px;
  background: var(--surface);
  font-size: .875rem;
}
.accessories-menu button:hover { border-color: var(--blue); }
.accessories-menu button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.accessories-product-group + .accessories-product-group { margin-top: clamp(25px, 5vw, 52px); }
.accessories-product-group h2 { color: var(--blue-deep); font-size: clamp(1.42rem, 3vw, 2.1rem); margin-bottom: 12px; }
.accessories-product-group .product-title { padding: 12px; }
@media (max-width: 480px) {
  .header nav { flex-wrap: wrap; gap: 0 12px; }
  .header nav a { min-height: 40px; }
}


body { min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1; }
.header nav a[aria-current="page"], .header nav a[data-active-section] {
  color: var(--blue-deep);
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.breadcrumbs { padding-block: 13px; color: var(--muted); font-size: .8125rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-inline-end: 8px; }
.breadcrumbs a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
[data-store-page="home"] .shop { padding-top: clamp(34px, 5vw, 75px); }
[data-store-page="jewelry"] .shop { padding-top: clamp(13px, 3vw, 35px); }
[data-store-page="materials"] .materials { margin-block: 12px clamp(38px, 6vw, 82px); }
[data-store-page="shopping-info"] .shopping-info { padding-bottom: clamp(38px, 6vw, 82px); }
