/* DIRA catalogue. Colours and fonts are all in :root below. */

:root {
  /* Colors */
  --ink: #141416;
  --ink-2: #1c1b1e;
  --ink-3: #252428;
  --ink-card: #18171a;
  --ink-card-hover: #1f1e22;
  --paper: #f4f2ed;
  --paper-2: #eae6dd;
  --cream: #efe3d0;
  --cream-soft: #f7f1e6;
  --gold: #c9a66b;
  --gold-light: #dfc394;
  --gold-deep: #8a6a36;
  --gold-glow: rgba(201, 166, 107, 0.18);
  --gold-border: rgba(201, 166, 107, 0.32);
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5b;
  --whatsapp-dark: #128c7e;
  --muted: #8e877b;
  --muted-light: #b5ada0;
  --line: rgba(239, 227, 208, 0.12);
  --line-strong: rgba(239, 227, 208, 0.22);
  --line-light: rgba(20, 20, 22, 0.1);

  /* Typography */
  --serif: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  /* Marcellus has no italic, so taglines use Cormorant's own italic instead of a slanted copy */
  --serif-italic: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --logo: 'Cormorant Garamond', Georgia, serif;

  /* Dimensions & spacing */
  --max-w: 1360px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

.serif {
  font-family: var(--serif);
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

/* Buttons & micro-components */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  font-weight: 500;
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 166, 107, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold-border);
}

.btn--outline:hover {
  background: rgba(201, 166, 107, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--wa {
  background: var(--whatsapp);
  color: #ffffff;
  border: 1px solid var(--whatsapp);
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn--wa:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.btn--small {
  min-height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn--icon {
  gap: 8px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Top announcement bar */

.top-bar {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--wrap-pad, 20px);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted-light);
  text-align: center;
}

.top-bar strong {
  color: var(--gold);
  font-weight: 400;
}

.top-bar a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

.top-bar a:hover {
  color: var(--gold-light);
}

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.logo__img {
  display: block;
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.82;
  position: relative;
  padding: 6px 0;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-link:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero section */

.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 100px) clamp(56px, 9vw, 110px);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(201, 166, 107, 0.07) 0%, transparent 80%),
              var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(201, 166, 107, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.badge-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-lede {
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--paper-2);
  line-height: 1.65;
  max-width: 35em;
  margin-bottom: 14px;
}

.hero-subtext {
  font-size: 15px;
  color: var(--muted-light);
  line-height: 1.6;
  max-width: 36em;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--cream);
}

.pillar-icon {
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

.pillar-text strong {
  display: block;
  font-weight: 400;
  color: var(--paper);
}

.pillar-text span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Hero media card */
.hero-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
}

.hero-showcase:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.hero-showcase__media {
  position: relative;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #0f0f11;
}

.hero-showcase__media img,
.hero-showcase__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 22, 0.95) 0%, rgba(20, 20, 22, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.specimen-tag {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.specimen-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 23px;
  color: var(--paper);
  margin-bottom: 6px;
}

.specimen-note {
  font-size: 13.5px;
  color: var(--muted-light);
  margin-bottom: 16px;
  max-width: 26em;
}

.specimen-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 400;
  cursor: pointer;
  transition: gap 0.3s ease;
}

.hero-showcase:hover .specimen-cta {
  gap: 12px;
}

/* Philosophy & intentions */

.philosophy {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.philosophy-inner {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.philosophy-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.philosophy-quote {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--paper);
  margin-bottom: 24px;
}

.philosophy-quote em {
  font-style: normal;
  color: var(--gold);
}

.philosophy-sub {
  font-size: 16px;
  color: var(--muted-light);
  line-height: 1.7;
  max-width: 44em;
  margin-inline: auto;
  margin-bottom: 48px;
}

.intentions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.intention-card {
  background: rgba(20, 20, 22, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.intention-card:hover,
.intention-card.is-active {
  background: var(--ink-card);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.intention-name {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 6px;
}

.intention-stones {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Catalogue section */

.catalogue {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.catalogue-header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.catalogue-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.catalogue-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.12;
  color: var(--paper);
  margin-bottom: 16px;
}

.catalogue-desc {
  font-size: 16px;
  color: var(--muted-light);
  line-height: 1.6;
}

/* Filter & search bar */
.filter-bar {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Search box */
.search-box {
  position: relative;
  flex: 1 1 320px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 44px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--cream);
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
  padding: 4px;
  display: none;
}

.search-clear.is-visible {
  display: block;
}

.search-clear:hover {
  color: var(--cream);
}

/* Sort selector */
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.sort-label {
  font-size: 13.5px;
  color: var(--muted);
}

.sort-select {
  height: 48px;
  padding: 0 34px 0 16px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9A66B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--cream);
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Category filter tabs */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.filter-pill:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.filter-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

.pill-count {
  font-size: 11px;
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.filter-pill.is-active .pill-count {
  background: rgba(20, 20, 22, 0.2);
  color: var(--ink);
  font-weight: 600;
}

/* Results count & reset bar */
.results-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 24px;
  padding-inline: 4px;
}

.results-count strong {
  color: var(--gold);
  font-weight: 400;
}

.reset-filters-btn {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
  font-size: 13px;
  cursor: pointer;
  display: none;
}

.reset-filters-btn.is-visible {
  display: inline-block;
}

.reset-filters-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* Catalogue grid */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(24px, 3.2vw, 36px);
}

/* Product card */
.product-card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #101012;
  overflow: hidden;
  cursor: pointer;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity 0.8s ease;
}

.card-media img.img-secondary {
  opacity: 0;
}

.product-card:hover .card-media img.img-primary {
  transform: scale(1.05);
}

.product-card:hover .card-media img.img-secondary {
  opacity: 1;
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(20, 20, 22, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 227, 208, 0.15);
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-tag b {
  color: var(--gold);
  font-weight: 500;
  margin-right: 4px;
}

.card-quick-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(20, 20, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--cream);
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-full);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}

.product-card:hover .card-quick-btn {
  opacity: 1;
  transform: translateY(0);
}

.card-quick-btn:hover {
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-collection {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 19px;
  line-height: 1.25;
  color: var(--paper);
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.card-title:hover {
  color: var(--gold);
}

.card-line {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--gold-light);
  opacity: 0.9;
  margin-bottom: 12px;
}

.card-tradition {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.card-details-btn {
  background: rgba(239, 227, 208, 0.06);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  text-align: center;
  transition: all 0.3s ease;
}

.card-details-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

.card-wa-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--whatsapp);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.card-wa-btn svg {
  width: 18px;
  height: 18px;
}

.card-wa-btn:hover {
  background: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
  transform: scale(1.08);
}

/* No results state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: var(--ink-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

.empty-state__icon {
  font-size: 40px;
  color: var(--muted);
  margin-bottom: 16px;
}

.empty-state__title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 10px;
}

.empty-state__text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Product detail modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal-container {
  position: relative;
  z-index: 1001;
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  background: var(--ink-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  overflow-x: hidden !important;
  box-sizing: border-box;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.modal.is-open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--ink-3);
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 44px);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Modal gallery */
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #111113;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-stage img,
.gallery-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(20, 20, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--cream);
  border: 1px solid var(--line);
  pointer-events: none;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.gallery-thumb {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: #18181b;
  opacity: 0.7;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* Modal details */
.modal-info {
  display: flex;
  flex-direction: column;
}

.modal-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.modal-ref {
  display: none !important;
}

.modal-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 8px;
}

.modal-line {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 16px;
  line-height: 1.4;
}

.modal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6ed687;
  margin-bottom: 24px;
}

.modal-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ed687;
}

/* Variant / size options */
.modal-variants {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.variants-label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-full);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.variant-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.variant-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

.photo-size-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(201, 166, 107, 0.08);
  border: 1px solid rgba(201, 166, 107, 0.25);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--gold-light);
  line-height: 1.4;
}

.photo-size-callout svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

/* WhatsApp enquiry box */
.modal-cta-box {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-wa-btn {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
  gap: 12px;
}

.modal-wa-hint {
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.5;
  text-align: center;
}

.modal-wa-hint strong {
  color: var(--paper);
  font-weight: 400;
}

/* Spec card */
.spec-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.spec-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  font-size: 13.5px;
}

.spec-item dt {
  color: var(--muted);
  font-size: 12px;
}

.spec-item dd {
  color: var(--paper);
  font-weight: 400;
  margin-top: 2px;
}

/* Natural variation note */
.natural-variation-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--gold-light);
}

.natural-variation-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.natural-variation-note strong {
  color: var(--gold);
  font-weight: 500;
}

/* Product feature badges (rings, pendants, druzy) */
.product-highlight-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(201, 166, 107, 0.08);
  border: 1px solid rgba(201, 166, 107, 0.28);
  font-size: 12px;
  color: var(--cream);
  line-height: 1.4;
}

.product-highlight-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--gold);
}

.product-highlight-badge strong {
  color: var(--gold);
}

.product-highlight-badge--pendant {
  background: rgba(110, 214, 135, 0.08);
  border-color: rgba(110, 214, 135, 0.3);
}

.product-highlight-badge--pendant svg,
.product-highlight-badge--pendant strong {
  color: #6ed687;
}

.product-highlight-badge--druzy {
  background: rgba(186, 147, 246, 0.08);
  border-color: rgba(186, 147, 246, 0.3);
}

.product-highlight-badge--druzy svg,
.product-highlight-badge--druzy strong {
  color: #ba93f6;
}

.metal-finish-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

.metal-finish-note strong {
  color: var(--muted-light);
}

.card-feature-pill {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid rgba(201, 166, 107, 0.28);
  color: var(--gold-light);
  margin-bottom: 6px;
  width: fit-content;
}

/* Story & tradition */
.modal-story {
  margin-bottom: 22px;
}

.modal-story p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 12px;
}

.modal-story p:first-child {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--paper);
  line-height: 1.45;
}

.modal-tradition {
  background: rgba(201, 166, 107, 0.08);
  border-left: 2px solid var(--gold);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
}

.modal-tradition-title {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.modal-tradition-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream);
}

.modal-care {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.modal-care-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.modal-care-list {
  list-style: none;
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
}

.modal-care-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.modal-care-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* About & showroom section */

.about-section {
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.about-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 22px;
}

.about-title em {
  font-style: normal;
  color: var(--gold);
}

.about-text {
  font-size: 16px;
  color: var(--muted-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-feat {
  padding: 16px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.about-feat-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.about-feat-label {
  font-size: 13px;
  color: var(--cream);
}

/* Showroom card */
.showroom-card {
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.showroom-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.showroom-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 26px;
  color: var(--paper);
  margin-bottom: 6px;
}

.showroom-subtitle {
  font-size: 14px;
  color: var(--gold);
}

.showroom-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.showroom-item {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
}

.showroom-item svg {
  color: var(--gold);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.showroom-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}

.showroom-item span {
  color: var(--cream);
  line-height: 1.5;
}

/* Floating WhatsApp button (bottom-right) */

.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 12px 20px 12px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none;
}

.floating-wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--whatsapp);
  opacity: 0.5;
  animation: pulse-ring 2.4s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.floating-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-wa-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.floating-wa-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-wa-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-wa-title {
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
}

.floating-wa-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */

.site-footer {
  background: var(--ink);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4.5vw, 64px);
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand-text {
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.6;
  max-width: 24em;
}

.footer-col-title {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: var(--muted-light);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-disclaimer {
  max-width: 68em;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Responsive */


/* Floating circular filter button (top-right corner) */
.floating-filter-btn {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  right: 18px;
  z-index: 920;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 12px rgba(201, 166, 107, 0.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease;
}

.floating-filter-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-filter-btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(201, 166, 107, 0.4);
}

.floating-filter-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.filter-bar.filter-bar--highlight {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--gold-glow), 0 16px 36px rgba(0, 0, 0, 0.5) !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}


/* Filter sheet: only phones use these pieces */
.filter-sheet__head,
.filter-sheet__foot,
.filter-backdrop { display: none; }

.floating-filter-btn.has-filters::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: 2px solid var(--ink);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-showcase {
    max-width: 520px;
    margin-inline: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intentions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal {
    padding: 12px 10px;
  }

  .modal-container {
    max-height: 92vh;
    border-radius: 18px;
    overflow-x: hidden !important;
  }

  .modal-content-grid {
    grid-template-columns: 100% !important;
    gap: 22px !important;
    padding: 22px 18px 30px !important;
    box-sizing: border-box;
  }

  .modal-gallery {
    min-width: 0;
    width: 100%;
  }

  /* 4:5 like the photos, so nothing is cut off; capped in width on tablets */
  .gallery-stage {
    aspect-ratio: 4 / 5;
    max-width: 480px;
    margin-inline: auto;
    border-radius: 12px;
  }

  .gallery-thumbs {
    gap: 8px;
    padding-bottom: 6px;
  }

  .gallery-thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 8px;
  }

  .modal-info {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .modal-title {
    font-size: 26px !important;
    word-break: break-word;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .wrap {
    padding-inline: 16px;
  }

  .logo__img {
    height: 38px;
  }

  .header-cta .btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding-block: 36px 48px;
  }

  .hero-title {
    font-size: clamp(30px, 8.5vw, 48px);
    line-height: 1.12;
  }

  .hero-lede {
    font-size: 15px;
  }

  .trust-pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .intentions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .filter-bar {
    padding: 16px;
    gap: 16px;
  }

  /* 2 per row on phones */
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  .card-media {
    aspect-ratio: 4 / 5;
  }

  .card-tag {
    top: 6px;
    left: 6px;
    font-size: 9.5px;
    padding: 2px 7px;
    letter-spacing: 0.03em;
  }

  .card-quick-btn {
    display: none;
  }

  .card-body {
    padding: 10px 8px;
  }

  .card-collection {
    font-size: 9.5px;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
  }

  .card-title {
    font-size: 14px !important;
    line-height: 1.22 !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 4px !important;
  }

  .card-line {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-tradition {
    display: none !important;
  }

  .card-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
  }

  .card-details-btn {
    flex: 1;
    min-height: 32px;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: var(--radius-full);
  }

  .card-wa-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .card-wa-btn svg {
    width: 15px;
    height: 15px;
  }

  /* Floating filter button on mobile */
  .floating-filter-btn {
    top: calc(var(--header-h) + 10px);
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .floating-filter-btn svg {
    width: 18px;
    height: 18px;
  }

  .floating-wa-text {
    display: none;
  }

  .floating-wa {
    padding: 13px;
    bottom: 18px;
    right: 16px;
  }

  .floating-wa-icon {
    width: 28px;
    height: 28px;
  }

  .floating-wa-icon svg {
    width: 26px;
    height: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-inline: 16px;
  }

  .hero-title {
    font-size: clamp(26px, 8vw, 36px);
  }

  .intentions-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* still 2 per row on small phones */
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .card-body {
    padding: 8px 6px;
  }

  .card-title {
    font-size: 13px !important;
  }

  .card-line {
    font-size: 12px !important;
    -webkit-line-clamp: 1;
  }

  .card-details-btn {
    font-size: 10.5px;
    padding: 4px 6px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 8px 6px;
  }

  .modal-content-grid {
    padding: 16px 12px 24px !important;
    gap: 16px !important;
  }

  .gallery-stage {
    aspect-ratio: 4 / 5;
    border-radius: 10px;
  }

  .gallery-thumb {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 6px;
  }

  .modal-title {
    font-size: 22px !important;
  }
}

/* Crystal grids (made to order) */
.grid-section {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.grid-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.grid-art {
  color: var(--gold);
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.grid-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.grid-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.grid-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 22px;
}

.grid-title em {
  font-style: normal;
  color: var(--gold);
}

.grid-text {
  font-size: 16px;
  color: var(--muted-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.grid-steps {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.grid-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--cream);
  font-size: 15px;
  line-height: 1.6;
}

.grid-steps li > span {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--serif);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.grid-steps strong {
  color: var(--paper);
  font-weight: 500;
}

@media (max-width: 900px) {
  .grid-section-inner {
    grid-template-columns: 1fr;
  }
  .grid-art {
    max-width: 240px;
  }
  .grid-section .btn {
    width: 100%;
  }
}

/* Five links + logo + Enquire don't fit below ~900px, so the menu goes and the
   page sections are reached by scrolling. Between 900 and 1100 just tighten it. */
@media (max-width: 1100px) {
  .nav-links {
    gap: 20px;
  }
  .nav-link {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* Offers (offers.js). Only on the page while an offer is live.
   Movement is kept slow on purpose: no sparkle, no glints, nothing fast. */

.offer-theme--gold     { --o-accent: #c9a66b; --o-accent-2: #dfc394; --o-bg: #1f1b15; --o-bg-2: #141416; --o-glow: rgba(201, 166, 107, 0.22); --o-ink: #141416; }
.offer-theme--festive  { --o-accent: #e2b467; --o-accent-2: #f1d29a; --o-bg: #3b1519; --o-bg-2: #1a0b0d; --o-glow: rgba(226, 140, 72, 0.26); --o-ink: #2a0d10; }
.offer-theme--rose     { --o-accent: #dba7a2; --o-accent-2: #eecbc6; --o-bg: #2c1c20; --o-bg-2: #161214; --o-glow: rgba(219, 167, 162, 0.22); --o-ink: #2c1518; }
.offer-theme--emerald  { --o-accent: #c9a66b; --o-accent-2: #9fd0b4; --o-bg: #0f2a22; --o-bg-2: #0b1512; --o-glow: rgba(110, 190, 150, 0.2); --o-ink: #0b1d17; }
.offer-theme--midnight { --o-accent: #b8bfe9; --o-accent-2: #dfc394; --o-bg: #181c38; --o-bg-2: #0e1020; --o-glow: rgba(150, 160, 230, 0.2); --o-ink: #101329; }

/* strip above the top bar */
.offer-strip {
  position: relative;
  height: 40px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--ink-2), #2a2216 50%, var(--ink-2));
  border-bottom: 1px solid var(--gold-border);
}

.offer-strip__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.2s var(--ease-slow), transform 1.2s var(--ease-slow);
  pointer-events: none;
  white-space: nowrap;
}

.offer-strip__item.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.offer-strip__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--gold);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.offer-strip__text { color: var(--gold-light); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.offer-strip__when { color: var(--muted-light); }
.offer-strip__go { text-decoration: underline; text-underline-offset: 3px; }
.offer-strip__item:hover .offer-strip__go { color: var(--gold-light); }

/* nav link */
.nav-link--offer {
  color: var(--gold-light);
  opacity: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-offer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: offer-breathe-dot 2.8s ease-in-out infinite;
}

/* the section */
.offers {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 166, 107, 0.08), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.offers-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.offers-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}

.offers-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.15;
  color: var(--cream-soft);
  margin-bottom: 14px;
}

.offers-sub {
  color: var(--muted-light);
  font-size: 15.5px;
}

.offers-list {
  display: grid;
  gap: 28px;
}

.offers-list--one { max-width: 1080px; margin: 0 auto; }

/* one offer card */
.offer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--o-accent) 38%, transparent);
  background: linear-gradient(140deg, var(--o-bg) 0%, var(--o-bg-2) 75%);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.offer-card__glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(circle at 30% 40%, var(--o-glow), transparent 45%);
  animation: offer-drift 22s ease-in-out infinite alternate;
}

/* the round seal with the big number */
.offer-seal {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.offer-aura {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--o-glow) 0%, transparent 70%);
  animation: offer-breathe 7s ease-in-out infinite alternate;
}

.offer-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--o-accent);
  stroke-width: 0.6;
}

.offer-rings--outer { opacity: 0.55; animation: offer-turn 120s linear infinite; }
.offer-rings--inner { inset: 14%; width: 72%; height: 72%; opacity: 0.32; animation: offer-turn 160s linear infinite reverse; }

.offer-seal__text {
  position: relative;
  text-align: center;
  line-height: 1;
}

.offer-seal__big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 84px);
  color: var(--o-accent-2);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.offer-seal--long .offer-seal__big { font-size: clamp(36px, 4.6vw, 54px); }

.offer-seal__big span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.9s var(--ease-slow), transform 0.9s var(--ease-slow);
  transition-delay: calc(var(--i) * 80ms + 350ms);
}

.offer-seal__small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--o-accent);
  opacity: 0;
  transition: opacity 1.2s var(--ease-slow) 1s;
}

.is-in .offer-seal__big span,
.offer-dialog.is-open .offer-seal__big span { opacity: 1; transform: none; }
.is-in .offer-seal__small,
.offer-dialog.is-open .offer-seal__small { opacity: 1; }

/* text side */
.offer-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--o-accent, var(--gold));
  margin-bottom: 12px;
}

.offer-eyebrow__dot { opacity: 0.5; margin: 0 4px; }

.offer-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  color: var(--cream-soft);
  margin-bottom: 14px;
}

.offer-desc {
  color: var(--cream);
  opacity: 0.86;
  font-size: 16px;
  margin-bottom: 14px;
  max-width: 54ch;
}

.offer-applies {
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.offer-applies span {
  color: var(--o-accent);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-right: 8px;
}

.offer-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border: 1px dashed color-mix(in srgb, var(--o-accent) 60%, transparent);
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  font-size: 13px;
}

.offer-code__label { color: var(--muted-light); }
.offer-code__value { font-weight: 500; letter-spacing: 0.12em; color: var(--o-accent-2); }

.offer-code__copy {
  background: color-mix(in srgb, var(--o-accent) 18%, transparent);
  color: var(--cream);
  border: 0;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.offer-code__copy:hover { background: color-mix(in srgb, var(--o-accent) 32%, transparent); }

/* countdown */
.offer-timer { margin-bottom: 26px; }

.offer-timer__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-light);
  margin-bottom: 10px;
}

.offer-timer__units { display: flex; gap: 10px; }

.offer-timer__unit {
  min-width: 66px;
  padding: 10px 8px 8px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid color-mix(in srgb, var(--o-accent) 22%, transparent);
}

.offer-timer.no-days .offer-timer__unit:first-child { display: none; }

.offer-timer__num {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  color: var(--cream-soft);
  font-variant-numeric: tabular-nums;
}

.offer-timer__num.is-changing { animation: offer-tick 0.6s var(--ease-slow); }

.offer-timer__name {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.offer-actions--center { justify-content: center; }

.offer-terms-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--cream);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--o-accent) 60%, transparent);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.offer-terms-btn:hover { opacity: 1; color: var(--o-accent-2); }

/* several offers side by side */
.offers-list--many { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.offers-list--many .offer-card { grid-template-columns: 1fr; text-align: center; }
.offers-list--many .offer-seal { width: min(100%, 230px); }
.offers-list--many .offer-desc { margin-inline: auto; }
.offers-list--many .offer-timer__units,
.offers-list--many .offer-actions { justify-content: center; }

/* scroll reveal */
.offer-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-slow), transform 1.1s var(--ease-slow);
  transition-delay: var(--delay, 0ms);
}

.offer-reveal.is-in { opacity: 1; transform: none; }

/* tag on product cards and in the product view */
.card-offer-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--o-accent);
  color: var(--o-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.modal-offer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0 18px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--o-accent) 45%, transparent);
  background: linear-gradient(120deg, var(--o-bg), var(--o-bg-2));
  font-size: 13.5px;
  transition: border-color 0.3s ease;
}

.modal-offer[hidden] { display: none; }
.modal-offer strong { color: var(--o-accent-2); font-weight: 500; }
.modal-offer span { color: var(--muted-light); }
.modal-offer:hover { border-color: var(--o-accent); }

/* terms + welcome dialog */
.offer-dialog {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.7s;
}

.offer-dialog.is-open { visibility: visible; pointer-events: auto; transition: none; }

.offer-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.offer-dialog.is-open .offer-dialog__backdrop { opacity: 1; }

.offer-dialog__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--o-accent) 40%, transparent);
  background: linear-gradient(150deg, var(--o-bg), var(--o-bg-2) 80%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.7s var(--ease-slow), transform 0.7s var(--ease-slow);
}

.offer-dialog.is-open .offer-dialog__box { opacity: 1; transform: none; }

.offer-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--cream);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.offer-dialog__close:hover { border-color: var(--o-accent); color: var(--o-accent-2); }

.offer-dialog__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.2;
  color: var(--cream-soft);
  margin-bottom: 10px;
}

.offer-dialog__lead { color: var(--muted-light); font-size: 15px; margin-bottom: 20px; }

.offer-terms-list {
  padding-left: 22px;
  margin-bottom: 26px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--cream);
}

.offer-terms-list li::marker { color: var(--o-accent); }

.offer-dialog__cta { width: 100%; }

.offer-welcome { text-align: center; }
.offer-welcome .offer-seal { width: 210px; margin-bottom: 18px; }
.offer-welcome .offer-seal__big { font-size: 56px; }
.offer-welcome .offer-seal--long .offer-seal__big { font-size: 36px; }

/* keyframes, all slow */
@keyframes offer-turn { to { transform: rotate(360deg); } }
@keyframes offer-breathe { from { transform: scale(0.9); opacity: 0.55; } to { transform: scale(1.06); opacity: 0.95; } }
@keyframes offer-breathe-dot { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes offer-drift { from { transform: translate(-4%, -3%); } to { transform: translate(6%, 5%); } }
@keyframes offer-tick { from { opacity: 0.2; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .offer-card { grid-template-columns: 1fr; text-align: center; }
  .offer-seal { width: min(100%, 250px); }
  .offer-desc { margin-inline: auto; }
  .offer-timer__units, .offer-actions { justify-content: center; }
  .offer-strip__when { display: none; }
}

@media (max-width: 480px) {
  .offer-strip__go { display: none; }
  .offer-strip__item { gap: 10px; font-size: 12.5px; }
  .offer-timer__unit { min-width: 0; flex: 1; }
  .offer-timer__num { font-size: 24px; }
  .offer-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-card__glow, .offer-aura, .offer-rings, .nav-offer-dot { animation: none; }
  .offer-reveal, .offer-seal__big span, .offer-seal__small,
  .offer-dialog__box, .offer-dialog__backdrop, .offer-strip__item { transition: none; }
  .offer-timer__num.is-changing { animation: none; }
}

/* Pieces inside an offer card: combo (buy + free) and selected pieces */
.offer-piece {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 104px;
  text-align: center;
  color: var(--cream);
  transition: transform 0.5s var(--ease-slow);
}

.offer-piece:hover { transform: translateY(-3px); }

.offer-piece__img {
  position: relative;
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--o-accent) 45%, transparent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  background: var(--ink-3);
}

.offer-piece__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-piece__name {
  font-size: 12.5px;
  line-height: 1.35;
  opacity: 0.9;
}

.offer-piece--free .offer-piece__img { border-color: var(--o-accent); border-width: 2px; }

.offer-piece--free .offer-piece__img::after {
  content: 'FREE';
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--o-accent);
  color: var(--o-ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.offer-combo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid color-mix(in srgb, var(--o-accent) 22%, transparent);
}

.offer-combo__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.offer-combo__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 15px;
  text-align: center;
  color: var(--o-accent);
}

.offer-combo__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.offer-combo__plus {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--o-accent-2);
  padding-top: 52px;
}

.offer-pieces {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.offer-pieces .offer-piece { width: 76px; }
.offer-pieces .offer-piece__img { width: 64px; height: 64px; }
.offer-pieces .offer-piece__name { font-size: 11.5px; }

.offer-pieces__more {
  align-self: center;
  font-size: 13px;
  color: var(--o-accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 22px;
}

.offers-list--many .offer-combo,
.offers-list--many .offer-pieces { justify-content: center; }

@media (max-width: 900px) {
  .offer-combo, .offer-pieces { justify-content: center; }
}

@media (max-width: 480px) {
  .offer-combo { flex-direction: column; align-items: center; }
  .offer-combo__plus { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-piece { transition: none; }
}

/* Side-by-side offers: keep the countdown and buttons level across cards. */
.offers-list--many .offer-card { grid-template-rows: auto 1fr; align-items: stretch; }
.offers-list--many .offer-card__body { display: flex; flex-direction: column; align-items: center; }
.offers-list--many .offer-timer { margin-top: auto; }

/* ---------- New sections: new arrivals, shop by purpose, ready-made sets ---------- */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  text-align: left;
}

.section-head--row .section-sub { max-width: 420px; text-align: right; }

.section-kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.12;
  color: var(--paper);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15.5px;
  color: var(--muted-light);
  line-height: 1.6;
}

/* new arrivals: a sideways rail of cards */
.new-arrivals {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.new-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.new-card {
  scroll-snap-align: start;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.new-card:hover { border-color: var(--gold-border); }

.new-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  background: var(--ink-3);
  cursor: pointer;
  overflow: hidden;
}

.new-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow);
}

.new-card:hover .new-card__media img { transform: scale(1.05); }

.new-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

.new-card__body { padding: 14px 16px 16px; }

.new-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--cream-soft);
  cursor: pointer;
  margin-bottom: 4px;
}

/* shop by purpose: four tiles */
.purposes {
  padding-block: clamp(64px, 8vw, 110px);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.purpose-tile {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-card);
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.purpose-tile:hover {
  border-color: var(--gold-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.purpose-tile__pics {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 3 / 2;
  background: var(--ink);
}

.purpose-tile__pics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow);
}

.purpose-tile__pics img:first-child { grid-row: span 2; }
.purpose-tile:hover .purpose-tile__pics img { transform: scale(1.04); }

.purpose-tile__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
}

.purpose-tile__title {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--paper);
}

.purpose-tile__note {
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.55;
  flex: 1;
}

.purpose-tile__go {
  font-size: 13.5px;
  color: var(--gold);
  letter-spacing: 0.03em;
}

/* ready-made sets */
.sets {
  padding-block: clamp(64px, 8vw, 110px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.set-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-card);
  overflow: hidden;
}

.set-card__pics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
}

.set-card__pic {
  border: 0;
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-3);
}

.set-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-slow);
}

.set-card__pic:hover img { transform: scale(1.06); }

.set-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.set-card__count {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.set-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--paper);
}

.set-card__line { color: var(--gold-light); font-size: 15px; }
.set-card__desc { color: var(--muted-light); font-size: 14px; line-height: 1.6; }

.set-card__items {
  list-style: none;
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 4px 0 6px;
}

.set-card__items button {
  background: none;
  border: 0;
  padding: 2px 0;
  color: var(--cream);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.set-card__items button::before { content: '◆'; color: var(--gold); font-size: 9px; margin-right: 10px; vertical-align: 2px; }
.set-card__items button:hover { color: var(--gold-light); }

.set-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

/* ---------- Prices ---------- */

.card-price {
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.modal-price {
  /* Marcellus has no rupee sign, so the browser borrowed a smaller one from another font. Jost has it. */
  font-family: var(--sans);
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--gold-light);
  margin: -4px 0 14px;
}

.variant-price {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid currentColor;
  opacity: 0.8;
}

.modal-weight-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gold-light);
  background: rgba(201, 166, 107, 0.07);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.modal-weight-note[hidden], .modal-price[hidden] { display: none; }

/* ---------- Enquiry list ---------- */

.card-actions { grid-template-columns: 1fr auto auto; }

.card-list-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: rgba(201, 166, 107, 0.08);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.card-list-btn svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity 0.3s ease, transform 0.4s var(--ease-slow); }
.card-list-btn .icon-done { opacity: 0; transform: scale(0.6); }
.card-list-btn:hover { background: rgba(201, 166, 107, 0.2); }
.card-list-btn.is-added { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.card-list-btn.is-added .icon-add { opacity: 0; transform: rotate(90deg) scale(0.6); }
.card-list-btn.is-added .icon-done { opacity: 1; transform: none; }

.modal-list-btn { width: 100%; }
.modal-list-btn.is-added { border-color: var(--gold); color: var(--gold-light); background: rgba(201, 166, 107, 0.1); }

.list-fab {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold);
  background: rgba(20, 20, 22, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-slow), transform 0.5s var(--ease-slow);
}

.list-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.list-fab svg { width: 20px; height: 20px; color: var(--gold); }

.list-fab__count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.list-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.5s;
}

.list-drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }

.list-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.list-drawer.is-open .list-drawer__backdrop { opacity: 1; }

.list-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--ink-card);
  border-left: 1px solid var(--gold-border);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-slow);
}

.list-drawer.is-open .list-drawer__panel { transform: none; }

.list-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.list-drawer__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.list-drawer__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--paper);
  margin-top: 4px;
}

.list-drawer__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.list-drawer__close:hover { border-color: var(--gold); color: var(--gold); }

.list-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.list-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.list-row__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--ink-3);
}

.list-row__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.list-row__info strong { font-weight: 400; color: var(--paper); font-size: 15px; }
.list-row__price { font-size: 13.5px; color: var(--gold-light); }

.list-row__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-light);
  margin-top: 4px;
}

.list-row__opt select {
  flex: 1;
  min-width: 0;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  font: inherit;
  font-size: 13px;
}

.list-row__remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
}

.list-row__remove:hover { color: var(--cream); border-color: var(--cream); }

.list-empty {
  text-align: center;
  padding: 60px 10px;
  color: var(--muted-light);
}

.list-empty p { font-family: var(--serif); font-size: 20px; color: var(--paper); margin-bottom: 8px; }
.list-empty b { color: var(--gold-light); font-weight: 400; }

.list-drawer__foot {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-drawer__hint { font-size: 13px; color: var(--muted-light); text-align: center; line-height: 1.5; }
.list-drawer__send { width: 100%; }
.list-drawer__send.is-disabled { opacity: 0.4; pointer-events: none; }

.list-drawer__clear {
  background: none;
  border: 0;
  color: var(--muted-light);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.list-drawer__clear[hidden] { display: none; }

.list-note {
  position: fixed;
  left: 50%;
  bottom: 150px;
  z-index: 1300;
  width: max-content;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  background: rgba(37, 36, 40, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 166, 107, 0.06), 0 0 24px var(--gold-glow);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-slow);
}

.list-note.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 768px) {
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .section-head--row .section-sub { text-align: left; }
  .list-fab { left: 16px; bottom: 20px; padding: 10px 14px 10px 12px; }
  .list-fab__text { display: none; }
  .new-rail { grid-auto-columns: 62%; }
}

/* ---------- Motion (motion.js). Each effect can be switched off in Shop Settings. ---------- */

/* hero lines rise in on load */
html.m-rise-on .m-rise {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 1.1s var(--ease-slow), translate 1.1s var(--ease-slow);
  transition-delay: var(--d, 0ms);
}

html.m-rise-on .m-rise.is-in { opacity: 1; translate: 0 0; }

/* cards arrive in a gentle wave */
html.m-wave-on .m-card {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease-slow), translate 0.9s var(--ease-slow);
  transition-delay: var(--d, 0ms);
}

html.m-wave-on .m-card.is-in { opacity: 1; translate: 0 0; }

/* thin gold rule that grows under section headings */
.m-rule {
  display: block;
  width: 0;
  height: 1px;
  margin: 18px 0 22px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 1.4s var(--ease-slow);
}

.m-rule--center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.m-rule.is-in { width: 72px; }
.m-rule--center.is-in { width: 120px; }

/* philosophy quote: words brighten as you scroll through it */
.m-word { transition: opacity 0.35s linear; }

/* crystal grid drawing */
.grid-art .m-dot { transition: opacity 0.8s ease, transform 0.8s var(--ease-slow); transform-box: fill-box; transform-origin: center; }

/* hero video drifts a little slower than the page */
.hero-showcase__media video.m-drift { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html.m-rise-on .m-rise, html.m-wave-on .m-card { opacity: 1; translate: none; transition: none; }
  .m-rule { transition: none; }
}

@media (max-width: 560px) {
  .purpose-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .purpose-tile__pics { aspect-ratio: 1; grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .purpose-tile__pics img:not(:first-child) { display: none; }
  .purpose-tile__pics img:first-child { grid-row: auto; }
  .purpose-tile__note { display: none; }
  .purpose-tile__body { padding: 12px 14px 14px; gap: 6px; }
  .purpose-tile__title { font-size: 16px; line-height: 1.25; }
  .purpose-tile__go { font-size: 12.5px; }
}

/* Show more: the catalogue loads a page at a time */
.load-more {
  max-width: 420px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.load-more[hidden] { display: none; }

.load-more__text { font-size: 14px; color: var(--muted-light); letter-spacing: 0.02em; }

.load-more__bar {
  width: 220px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  overflow: hidden;
}

.load-more__bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width 0.8s var(--ease-slow);
}

.load-more__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.load-more__btn { min-width: 200px; }
.load-more__btn[hidden], .load-more__all[hidden] { display: none; }

.load-more__all {
  background: none;
  border: 0;
  color: var(--cream);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  opacity: 0.8;
}

.load-more__all:hover { opacity: 1; color: var(--gold-light); }
.load-more__hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Sections switched off in the editor (page.js) */
.is-off { display: none !important; }

/* Cart mode of the enquiry drawer: quantities, coupon, totals and the details form */
.co-qty {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
}
.co-qty button {
  width: 30px;
  height: 28px;
  background: none;
  border: 0;
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.co-qty button:hover { color: var(--gold); }
.co-qty span { min-width: 26px; text-align: center; font-size: 14px; color: var(--paper); }
.list-row__price b { font-weight: 500; }

.co-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.co-block:last-child { border-bottom: 0; }
.co-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--paper);
  margin-bottom: 12px;
}

.co-coupon { display: flex; gap: 8px; }
.co-coupon input,
.co-field input,
.co-field textarea {
  width: 100%;
  min-width: 0;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
}
.co-coupon input { text-transform: uppercase; letter-spacing: 0.06em; }
.co-field textarea { resize: vertical; }
.co-coupon input:focus,
.co-field input:focus,
.co-field textarea:focus { outline: 0; border-color: var(--gold); }
.co-coupon button {
  flex: none;
  padding: 0 18px;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.co-coupon button:hover { background: var(--gold-glow); }
.co-coupon-msg { margin-top: 8px; font-size: 13px; color: var(--gold-light); min-height: 1em; }
.co-coupon-msg.is-bad { color: #e0a39a; }

.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; color: var(--muted-light); }
.co-line b { font-weight: 400; color: var(--paper); }
.co-line--save b { color: var(--gold-light); }
.co-line--soft b { color: var(--muted-light); font-size: 13px; }
.co-line--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-strong); font-size: 16px; color: var(--paper); }
.co-line--total b { font-family: var(--serif); font-size: 22px; color: var(--gold-light); }
.co-note { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted-light); }

.co-field { display: block; margin-bottom: 12px; }
.co-field > span { display: block; margin-bottom: 5px; font-size: 12.5px; color: var(--muted-light); }
.co-err { display: block; min-height: 0; margin-top: 4px; font-style: normal; font-size: 12.5px; color: #e0a39a; }
.co-two { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }

/* Free pieces and offer hints in the cart */
.co-was { color: var(--muted-light); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.co-free { color: #4fd08a; font-weight: 600; letter-spacing: 0.08em; }
.list-row.is-free .list-row__price { color: var(--muted-light); }
.co-lock { font-size: 12.5px; color: var(--gold-light); }
.co-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(79, 208, 138, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(79, 208, 138, 0.07);
}
.co-nudge div { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted-light); line-height: 1.45; }
.co-nudge b { font-weight: 500; color: #7fe0aa; font-size: 14px; }
.co-nudge button {
  flex: none;
  padding: 8px 14px;
  background: transparent;
  color: #7fe0aa;
  border: 1px solid #4fd08a;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.co-nudge button:hover { background: rgba(79, 208, 138, 0.14); }

/* Desktop: the photo follows you down the page while the details scroll beside it.
   The frame is sized so the whole 4:5 photo and its thumbnails fit on screen. */
@media (min-width: 901px) {
  .standalone-product-grid .modal-gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .standalone-product-grid .gallery-stage {
    width: min(100%, calc((100vh - var(--header-h) - 190px) * 0.8));
    margin-inline: auto;
  }
}

@media (min-width: 1025px) {
  /* overflow must stay visible here, otherwise the grid becomes its own scroller and the photo cannot stick */
  .modal-content-grid { align-items: start; overflow: visible; }

  .modal-content-grid .modal-gallery {
    position: sticky;
    top: 24px;
  }

  .modal-content-grid .gallery-stage {
    width: min(100%, calc((90vh - 170px) * 0.8));
    margin-inline: auto;
  }
}

/* Phones: filters open from the floating button (kept last so it wins over the earlier .filter-bar rules) */
@media (max-width: 768px) {
  .filter-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    margin: 0;
    max-height: 78vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
    padding: 0 16px;
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.6);
  }

  .filter-bar.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.35s var(--ease);
  }

  .filter-sheet__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px;
    padding: 16px;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--paper);
  }

  .filter-sheet__head strong { font-weight: 400; }

  .filter-sheet__close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--cream);
    cursor: pointer;
  }

  .filter-sheet__foot {
    position: sticky;
    bottom: 0;
    display: block;
    margin: 0 -16px;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--ink-2);
    border-top: 1px solid var(--line);
  }

  .filter-sheet__foot .btn { width: 100%; }

  .filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1140;
    display: block;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  body.filter-sheet-open .filter-backdrop { opacity: 1; pointer-events: auto; }
  body.filter-sheet-open { overflow: hidden; }
  body.filter-sheet-open .list-fab,
  body.filter-sheet-open .floating-filter-btn { opacity: 0; pointer-events: none; }
}

/* Pieces sold by weight: grams box and extra pieces */
.co-grams { display: block; margin-top: 8px; }
.co-grams > span { display: block; margin-bottom: 5px; font-size: 12.5px; color: var(--muted-light); }
.co-grams input {
  width: 100%;
  max-width: 190px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font: inherit;
  font-size: 15px;
}
.co-grams input:focus { outline: 0; border-color: var(--gold); }
.co-another {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold-light);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.co-piece { font-size: 12px; color: var(--muted-light); font-weight: 400; margin-left: 4px; }

/* mobile: keep the offer tag clear of the category tag — pin it to the bottom of the photo */
@media (max-width: 768px) {
  .card-offer-tag {
    top: auto;
    right: 6px;
    bottom: 6px;
    left: 6px;
    width: auto;
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border-radius: 12px;
  }
}

/* cart limit message: fades out slowly instead of snapping away */
.list-note.is-slow { transition: opacity 1.6s ease, transform 0.4s var(--ease-slow); }
.list-note.is-slow.is-on { transition: opacity 0.4s ease, transform 0.4s var(--ease-slow); }
