:root {
  --bg: #f6efe1;
  --paper: rgba(255, 251, 244, 0.94);
  --paper-strong: #fffdf8;
  --ink: #1d1711;
  --muted: #6f6254;
  --gold: #c79a52;
  --gold-2: #edd09b;
  --gold-3: #8b6531;
  --line: rgba(104, 78, 42, 0.12);
  --shadow: 0 28px 60px rgba(38, 28, 18, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-gutter: clamp(18px, 4vw, 48px);
  --shell: min(1360px, calc(100% - (var(--page-gutter) * 2)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(228, 193, 125, 0.18), transparent 30%),
    linear-gradient(180deg, #fbf6ea 0%, #f5ecdb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.shell {
  width: var(--shell);
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 246, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(120, 91, 51, 0.08);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 252, 246, 0.97);
  box-shadow: 0 20px 40px rgba(29, 21, 12, 0.1);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.site-brand-logo {
  width: clamp(180px, 24vw, 300px);
  height: auto;
}

.site-brand-logo-centuries {
  width: clamp(180px, 24vw, 300px);
  max-height: none;
}

.site-brand-tag {
  color: var(--gold-3);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav-link {
  position: relative;
  padding: 12px 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(199, 154, 82, 0), rgba(199, 154, 82, 1), rgba(199, 154, 82, 0));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--ink);
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.site-main {
  padding-bottom: 44px;
  overflow-x: clip;
}

.home-carousel {
  padding: 34px 0 24px;
}

.home-carousel-frame {
  position: relative;
  min-height: clamp(420px, 42vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(117, 85, 39, 0.18);
  border-radius: var(--radius-xl);
  background: #21170e;
  box-shadow: var(--shadow);
}

.home-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease;
}

.home-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-carousel-slide img,
.home-carousel-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-carousel-slide img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 7s ease;
}

.home-carousel-slide.is-active img {
  transform: scale(1.08);
}

.home-carousel-overlay {
  background:
    linear-gradient(90deg, rgba(20, 13, 8, 0.78) 0%, rgba(20, 13, 8, 0.52) 38%, rgba(20, 13, 8, 0.1) 70%),
    linear-gradient(180deg, rgba(20, 13, 8, 0.02), rgba(20, 13, 8, 0.38));
}

.home-carousel-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(620px, 100%);
  padding: clamp(36px, 6vw, 82px);
  box-sizing: border-box;
  color: #fffaf1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(52px, 5vw, 72px);
}

.home-carousel-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: #f0c975;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-carousel h1,
.home-carousel h2 {
  max-width: 10ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 4.4vw, 4.1rem);
  font-weight: 600;
  line-height: 0.88;
}

.home-carousel p {
  max-width: 48ch;
  margin: 22px 0 28px;
  color: rgba(255, 250, 241, 0.9);
  font-size: 1.03rem;
  line-height: 1.75;
}

.home-carousel-content .btn {
  position: absolute;
  bottom: clamp(68px, 6vw, 92px);
  left: clamp(36px, 6vw, 82px);
}

.home-carousel-controls {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-carousel-arrow,
.home-carousel-dots button {
  border: 1px solid rgba(255, 250, 241, 0.4);
  background: rgba(38, 25, 14, 0.42);
  color: #fffaf1;
}

.home-carousel-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  place-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 180ms ease, transform 180ms ease;
}

.home-carousel-arrow:hover {
  background: rgba(255, 250, 241, 0.2);
  transform: translateY(-2px);
}

.home-carousel-dots {
  display: flex;
  gap: 8px;
}

.home-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.home-carousel-dots button.is-active {
  width: 28px;
  border-color: #f0c975;
  background: #f0c975;
}

.page-banner {
  padding: 70px 0 34px;
  position: relative;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.42), rgba(255, 253, 248, 0.04)),
    radial-gradient(circle at 15% 50%, rgba(210, 176, 114, 0.16), transparent 30%),
    radial-gradient(circle at 85% 35%, rgba(210, 176, 114, 0.14), transparent 24%);
  pointer-events: none;
}

.page-banner-shell {
  position: relative;
  padding: 56px clamp(24px, 5vw, 68px);
  border: 1px solid rgba(117, 85, 39, 0.12);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 251, 244, 0.82)),
    rgba(255, 249, 239, 0.88);
  box-shadow: var(--shadow);
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gold-3);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-eyebrow::before,
.page-eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.page-banner h1,
.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
}

.page-banner p,
.section-copy {
  width: min(760px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 24px 0 36px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  min-width: 0;
}

.section-heading p {
  max-width: 58ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading > * {
  min-width: 0;
}

.section-kicker {
  color: var(--gold-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #c4903d, #e3c384);
  color: #24180d;
  box-shadow: 0 18px 28px rgba(196, 144, 61, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.lead-grid,
.catalog-layout,
.content-grid,
.contact-layout,
.buy-layout {
  display: grid;
  gap: 24px;
}

.lead-grid {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.catalog-layout {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  align-items: start;
}

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

.buy-layout,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.info-card,
.coin-card,
.contact-card,
.terms-card,
.shop-sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 252, 246, 0.96)),
    var(--paper);
  box-shadow: var(--shadow);
}

.panel,
.info-card,
.contact-card,
.terms-card,
.shop-sidebar-card {
  padding: 24px;
}

.category-list,
.footer-column ul,
.check-list,
.stats-list,
.contact-data-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(121, 88, 42, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.category-list a:hover,
.category-list a.is-active {
  border-color: rgba(199, 154, 82, 0.28);
  background: rgba(240, 221, 187, 0.42);
}

.category-count,
.type-pill,
.price-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(199, 154, 82, 0.12);
  color: var(--gold-3);
  font-size: 0.76rem;
  font-weight: 700;
}

.featured-grid,
.shop-grid {
  display: grid;
  gap: 20px;
}

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

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.product-pagination a,
.product-pagination span:not(.pagination-ellipsis) {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  background: rgba(255, 253, 248, 0.76);
  color: var(--ink);
  font-size: 0.9rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.product-pagination a:hover {
  border-color: rgba(196, 144, 61, 0.56);
  background: rgba(237, 208, 155, 0.45);
  transform: translateY(-2px);
}

.product-pagination .is-active {
  border-color: #c4903d;
  background: linear-gradient(135deg, #c4903d, #e3c384);
  color: #24180d;
  font-weight: 700;
}

.product-pagination .is-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.product-pagination .pagination-ellipsis {
  color: var(--muted);
  letter-spacing: 0.16em;
}

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

.coin-card {
  overflow: hidden;
}

.coin-card-media {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(232, 201, 140, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 250, 244, 0.82));
}

.coin-card-media img {
  width: min(100%, 340px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(42, 29, 14, 0.18));
}

.coin-card-body {
  padding: 22px 22px 24px;
}

.coin-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.coin-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.coin-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.coin-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(113, 81, 38, 0.1);
}

.coin-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-3);
}

.coin-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.shop-grid .coin-card-media {
  min-height: 210px;
  padding: 18px;
}

.shop-grid .coin-card-media img {
  max-height: 168px;
}

.shop-grid .coin-card-body {
  padding: 18px;
}

.shop-grid .coin-card h3 {
  font-size: 1.65rem;
}

.shop-grid .coin-card-meta {
  margin-bottom: 10px;
}

.coin-card-details {
  margin: 12px 0;
}

.coin-card-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(196, 144, 61, 0.32);
  border-radius: 999px;
  background: rgba(237, 208, 155, 0.2);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.coin-card-details summary::-webkit-details-marker {
  display: none;
}

.coin-card-details summary::after {
  content: "+";
  color: var(--gold-3);
  font-size: 1.2rem;
  line-height: 1;
}

.coin-card-details[open] summary::after {
  content: "-";
}

.coin-card-details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.shop-toolbar p,
.filter-note {
  margin: 0;
  color: var(--muted);
}

.shop-mobile-tools,
.shop-sidebar-head {
  display: none;
}

.shop-mobile-tools {
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}

.mobile-sidebar-trigger,
.shop-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(109, 78, 37, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  min-width: 0;
  text-align: center;
}

.mobile-sidebar-trigger.is-primary {
  background: linear-gradient(135deg, #c4903d, #e3c384);
  color: #24180d;
  border-color: transparent;
}

.shop-mobile-count {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
  min-width: 0;
}

.shop-sidebar-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.catalog-layout > .shop-sidebar-card {
  position: static;
  align-self: start;
}

.shop-sidebar-card h3,
.info-card h3,
.contact-card h3,
.terms-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.filter-group input,
.filter-group select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(109, 78, 37, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.price-range-filter {
  display: grid;
  gap: 14px;
}

.price-range-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.price-range-slider {
  position: relative;
  height: 24px;
}

.price-range-slider::before,
.price-range-slider-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.price-range-slider::before {
  right: 0;
  left: 0;
  content: "";
  background: rgba(113, 81, 38, 0.18);
}

.price-range-slider-fill {
  z-index: 1;
  background: var(--gold-3);
}

.price-range-input {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  pointer-events: none;
  background: transparent;
}

.price-range-input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  pointer-events: auto;
  border: 2px solid #fffaf1;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 2px 7px rgba(76, 48, 13, 0.28);
  cursor: grab;
}

.price-range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  pointer-events: auto;
  border: 2px solid #fffaf1;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 2px 7px rgba(76, 48, 13, 0.28);
  cursor: grab;
}

.price-range-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.price-range-values output {
  min-width: 0;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-sidebar-section,
.shop-filter-panel {
  display: grid;
  gap: 16px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(199, 154, 82, 0.12);
  color: var(--gold-3);
  font-size: 0.82rem;
}

.empty-state {
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
}

.stats-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.stats-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(118, 85, 38, 0.08);
}

.stats-list strong {
  font-size: 1.1rem;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-inline-start: 28px;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4903d, #e3c384);
}

.contact-data-list {
  display: grid;
  gap: 14px;
}

.contact-data-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(114, 82, 39, 0.08);
}

.contact-data-list strong {
  color: var(--gold-3);
}

.site-footer {
  margin-top: 34px;
  padding-top: 30px;
  background:
    linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(17, 13, 9, 0.98)),
    #17120d;
  color: rgba(250, 243, 228, 0.94);
}

.footer-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
}

.footer-brand-mark {
  width: min(100%, 300px);
  display: block;
}

.footer-brand-logo {
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: left top;
}

.footer-brand p,
.footer-column li,
.footer-column span {
  color: rgba(250, 243, 228, 0.72);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.footer-brand-copy {
  margin: 0;
  max-width: 34ch;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}

.footer-column ul {
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: grid;
  gap: 4px;
}

.footer-contact strong,
.footer-contact span {
  display: block;
}

.footer-compliance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 234, 201, 0.12);
  color: rgba(250, 243, 228, 0.78);
  font-size: 0.82rem;
}

.footer-compliance-label {
  color: #f0c975;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-compliance strong {
  color: #fff2cf;
  font-weight: 600;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 234, 201, 0.12);
  color: rgba(250, 243, 228, 0.66);
  font-size: 0.9rem;
}

.footer-bar a {
  color: #f0c975;
  text-decoration: underline;
  text-decoration-color: rgba(240, 201, 117, 0.45);
  text-underline-offset: 3px;
}

.footer-bar a:hover {
  color: #fff2cf;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c4903d, #e3c384);
  color: #24180d;
  box-shadow: 0 18px 34px rgba(196, 144, 61, 0.32);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 38px rgba(196, 144, 61, 0.42);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: 0 0 auto;
}

.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(20, 15, 10, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.has-sidebar-open .mobile-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1180px) {
  .shop-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 940px) {
  .lead-grid,
  .catalog-layout,
  .buy-layout,
  .contact-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-home .lead-grid > .panel {
    order: 2;
  }

  .page-home .lead-grid > div {
    order: 1;
  }

  .page-home .category-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .page-home .category-list li {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  .page-home .category-list::-webkit-scrollbar {
    height: 0;
  }

  .featured-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-mobile-tools {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-sidebar-backdrop {
    display: block !important;
  }

  .shop-sidebar-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .catalog-layout > .shop-sidebar-card,
  .shop-sidebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 49;
    width: min(100%, 680px);
    max-height: min(78dvh, 720px);
    margin: 0 auto;
    padding: 22px;
    overflow-y: auto;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -20px 50px rgba(30, 20, 10, 0.24);
    transform: translateY(105%);
    transition: transform 240ms ease;
  }

  body.has-sidebar-open {
    overflow: hidden;
  }

  body.has-sidebar-open .catalog-layout > .shop-sidebar-card {
    transform: translateY(0);
  }

  .shop-sidebar-section .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-filter-panel {
    padding: 20px;
  }

  .shop-toolbar {
    display: grid;
    gap: 12px;
  }

  .shop-toolbar .btn {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: var(--page-gutter);
    display: none;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 252, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav-link {
    padding: 14px 10px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 14px;
  }

  .page-home .section,
  .page-home .lead-grid,
  .page-home .lead-grid > *,
  .page-home .section-heading,
  .page-home .featured-grid,
  .page-home .coin-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Keep the slider full-bleed while restoring a safe reading gutter elsewhere. */
  .page-home .home-carousel > .shell {
    width: 100%;
  }

  .page-home .shell.lead-grid,
  .page-home .shell.content-grid {
    width: var(--shell);
  }

  .page-home .section-heading {
    overflow: hidden;
  }

  .page-home .section-heading .section-title,
  .page-home .section-heading p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-home .section-heading .section-title {
    font-size: clamp(2rem, 8.8vw, 2.45rem);
    line-height: 1.02;
  }

  .page-home .section-heading .btn {
    margin-top: 4px;
  }

  .page-home .coin-card {
    overflow: hidden;
  }

  .header-shell {
    min-height: 64px;
    gap: 14px;
    align-items: flex-start;
  }

  .page-eyebrow {
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-eyebrow::before,
  .page-eyebrow::after {
    width: 24px;
  }

  .site-brand-logo {
    width: min(210px, 58vw);
  }

  .site-brand-logo-centuries {
    width: min(210px, 58vw);
  }

  .nav-toggle {
    margin-top: 6px;
  }

  .site-nav {
    top: calc(100% + 6px);
    padding: 10px;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    border-radius: 18px;
  }

  .site-nav-link {
    display: grid;
    min-height: 46px;
    padding: 10px 8px;
    place-items: center;
    text-align: center;
    border-radius: 12px;
  }

  .site-brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .page-banner {
    padding-top: 22px;
  }

  .home-carousel {
    padding-top: 0;
  }

  .home-carousel-frame {
    min-height: 530px;
    border-radius: 0;
  }

  .home-carousel-slide img {
    object-position: 62% center;
  }

  .home-carousel-overlay {
    background:
      linear-gradient(90deg, rgba(20, 13, 8, 0.8), rgba(20, 13, 8, 0.4)),
      linear-gradient(180deg, rgba(20, 13, 8, 0.08), rgba(20, 13, 8, 0.54));
  }

  .home-carousel-content {
    padding: 36px 24px 96px;
    justify-content: flex-end;
  }

  .home-carousel h1,
  .home-carousel h2 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .home-carousel p {
    margin: 16px 0 22px;
    font-size: 0.96rem;
  }

  .home-carousel .btn {
    position: static;
    width: 100%;
  }

  .home-carousel-controls {
    right: 18px;
    bottom: 18px;
  }

  .page-banner-shell {
    padding: 28px 16px;
    border-radius: 22px;
  }

  .page-banner h1 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
  }

  .page-banner p,
  .section-copy {
    width: 100%;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float span {
    display: none;
  }

  .section {
    padding: 18px 0 26px;
  }

  .panel,
  .info-card,
  .contact-card,
  .terms-card,
  .shop-sidebar-card {
    padding: 18px;
  }

  .shop-sidebar {
    padding: 18px;
  }

  .shop-sidebar-section .category-list {
    grid-template-columns: 1fr;
  }

  .shop-filter-panel {
    padding: 16px;
  }

  .shop-toolbar p,
  .filter-note {
    font-size: 0.92rem;
  }

  .section-heading .btn,
  .coin-card-footer .btn {
    width: 100%;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 18px;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .featured-grid,
  .shop-grid,
  .content-grid,
  .footer-shell {
    gap: 16px;
  }

  .coin-card-media {
    min-height: 200px;
    padding: 18px;
  }

  .shop-grid .coin-card-media {
    min-height: 175px;
    padding: 14px;
  }

  .shop-grid .coin-card-media img {
    max-height: 140px;
  }

  .coin-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .coin-card-topline {
    flex-wrap: wrap;
    gap: 8px;
  }

  .coin-card-body {
    padding: 18px;
  }

  .filter-actions {
    display: grid;
  }

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

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell,
  .footer-bar,
  .shop-toolbar,
  .section-heading {
    display: grid;
  }

  .footer-compliance {
    display: grid;
    gap: 8px;
  }

  .footer-bar {
    justify-content: unset;
    gap: 8px;
  }

  .coin-card h3 {
    font-size: 1.85rem;
  }

  .footer-brand-mark {
    width: min(100%, 220px);
  }
}

/* The supplied footer mark is white on black; screen blending retains the mark over the dark footer. */
.footer-brand-logo {
  mix-blend-mode: screen;
}
