/* Shared jewellery shop, hub, and featured chrome. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jewellery-hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-black);
  padding: calc(5.5rem + var(--space-8)) 0 var(--space-10);
}

.jewellery-hero__bg { display: none; }

.jewellery-hero__eyebrow,
.jewellery-crumb {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-mega);
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: var(--space-8);
}

.jewellery-crumb a {
  color: var(--color-steel);
  text-decoration: none;
}

.jewellery-crumb a:hover,
.jewellery-crumb a:focus-visible {
  color: var(--color-off-white);
}

.jewellery-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: var(--weight-normal);
  color: var(--color-off-white);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-8);
}

.jewellery-hero__title em {
  font-style: italic;
  color: var(--color-silver);
}

.jewellery-hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-secondary);
  max-width: 52ch;
  line-height: var(--leading-relaxed);
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.jewellery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.material-switch {
  display: inline-flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.material-switch__link {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-mega);
  text-transform: uppercase;
  color: var(--color-steel);
  text-decoration: none;
}

.material-switch__link--active,
.material-switch__link[aria-current="page"] {
  color: var(--color-off-white);
}

.shop {
  padding-block: var(--section-padding);
  background-color: var(--color-black);
}

.shop-brand {
  margin-top: var(--space-16);
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.product-card {
  cursor: pointer;
  background-color: var(--color-near-black);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
}

.product-card:hover { border-color: var(--color-muted-grey); }

.product-card__image {
  aspect-ratio: 1 / 1;
  background-color: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.product-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-5);
  background: var(--color-charcoal);
}

.product-card__badge {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: var(--space-3);
}

.product-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-off-white);
  margin-bottom: var(--space-1);
}

.product-card__material {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: var(--space-4);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
}

.product-card__price {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-silver);
  text-decoration: none;
}

.product-card__link {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.shop-note {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border-subtle);
  text-align: center;
}

.shop-note p {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-secondary);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.shop-note p a { color: var(--color-off-white); }

.shop-note__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.jewellery-cta {
  padding-block: var(--section-padding);
  background-color: var(--color-black);
  text-align: center;
}

.jewellery-cta__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-mega);
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: var(--space-6);
}

.jewellery-cta__heading {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: var(--color-off-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.jewellery-cta__sub {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-secondary);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  line-height: var(--leading-relaxed);
}

.jewellery-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--overlay-darker);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.sheet-backdrop.is-open { display: flex; }

.sheet {
  background-color: var(--color-near-black);
  border: 1px solid var(--color-muted-grey);
  max-width: 860px;
  width: 100%;
  max-height: calc(100svh - var(--space-12));
  overflow-y: auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  position: relative;
}

.sheet__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-muted-grey);
  border-radius: var(--radius-full);
  background: rgba(10, 10, 10, 0.8);
  color: var(--color-off-white);
  z-index: 2;
  cursor: pointer;
}

.sheet__visual {
  background: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  min-height: 280px;
}

.sheet__photo {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.sheet__content {
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.sheet__brand {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-steel);
}

.sheet__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-pure-white);
  margin: 0;
}

.sheet__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.sheet__specs { display: grid; gap: var(--space-2); }

.sheet__spec {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.sheet__spec-key { color: var(--color-text-muted); }
.sheet__spec-value { color: var(--color-text-secondary); }

.sheet__price {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-silver);
}

.sheet__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hub-dir {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-10);
}

.hub-dir__row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.6fr);
  gap: var(--space-6) var(--space-10);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  text-decoration: none;
  color: inherit;
}

.hub-dir__row:hover .hub-dir__title,
.hub-dir__row:focus-visible .hub-dir__title {
  color: var(--color-silver);
}

.hub-dir__kicker {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-mega);
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: var(--space-2);
}

.hub-dir__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-off-white);
  margin: 0;
}

.hub-dir__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
  align-self: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-20) 0;
  max-width: 28rem;
  margin: var(--space-16) auto 0;
}

.featured-card {
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: center;
}

.featured-card__image {
  aspect-ratio: 1 / 1;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
}

.featured-card__caption {
  margin: var(--space-6) 0 var(--space-2);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  color: var(--color-off-white);
}

.featured-card__note {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.featured-card__enquire {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-silver);
  text-decoration: none;
}

.cat-filters {
  margin: var(--space-10) 0 var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.filter-row[hidden] { display: none; }

.filter-row__label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-steel);
  min-width: 72px;
}

.filter-row__chips {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
}

.chip {
  min-height: 44px;
  padding: var(--space-2) var(--space-5);
  background-color: var(--color-near-black);
  border: 1px solid var(--color-muted-grey);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background-color: var(--color-off-white);
  border-color: var(--color-off-white);
  color: var(--color-black);
}

.catalogue-empty {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  border: 1px solid var(--color-border-subtle);
}

.catalogue-empty[hidden],
.catalogue-empty__consult[hidden] { display: none !important; }

.shop-brand[hidden] { display: none !important; }

@media (min-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24) var(--space-16);
    max-width: 52rem;
  }
}

@media (max-width: 1024px) {
  .shop-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .sheet { grid-template-columns: 1fr; }
  .hub-dir__row { grid-template-columns: 1fr; gap: var(--space-3); }
  .jewellery-hero { padding: calc(4.25rem + var(--space-3)) 0 var(--space-5); }
}

@media (max-width: 400px) {
  .shop-products { grid-template-columns: 1fr; }
}
