/* =============================================
   ADAMAS GOLD — CATALOG PAGE
   ============================================= */

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

:root {
  --bg:           #0b0b08;
  --bg-card:      #131310;
  --bg-elevated:  #1b1b15;
  --bg-header:    rgba(10, 10, 7, 0.96);
  --gold:         #f2e9d2;
  --gold-light:   #e8dfc2;
  --gold-dim:     rgba(242, 233, 210, 0.10);
  --text-primary: #f0ead6;
  --text-sec:     #8e8372;
  --text-muted:   #565044;
  --border:       #222219;
  --border-card:  #1e1e17;
  --radius:       5px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
}

html {
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }


/* ── HEADER ──────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.site-header.menu-open::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(242, 233, 210, 0.2), transparent);
}

.header-inner {
  width: 100%;
  padding: 0 48px;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-link { flex-shrink: 0; width: 228px; }

.brand {
  position: relative;
  display: block;
  height: 60px;
  width: 228px;
}

.brand::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold);
  -webkit-mask: url(assets/Logo.png) center / contain no-repeat;
  mask: url(assets/Logo.png) center / contain no-repeat;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-sec);
  transition: color 0.2s;
}

.nav-link:hover       { color: var(--text-primary); }
.nav-link.active      { color: var(--gold); }

/* ── NAV DROPDOWN ─────────────────────────── */

.nav-dropdown-wrap {
  position: relative;
}

/* invisible bridge that fills the gap so hover doesn't break */
.nav-dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 22px;
}

.nav-has-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-chevron {
  flex-shrink: 0;
  color: var(--text-sec);
  transition: transform 0.25s ease, color 0.2s;
}

.nav-has-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown-wrap:hover .nav-dropdown-chevron {
  color: var(--text-primary);
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(242, 233, 210, 0.04) inset;
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid var(--border-card);
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid var(--bg-elevated);
}

.nav-dropdown-item {
  display: block;
  padding: 9px 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-sec);
  text-transform: none;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-item:hover {
  color: var(--text-primary);
  background: rgba(242, 233, 210, 0.04);
}

.nav-dropdown-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  color: var(--text-primary);
}

.nav-dropdown-item:active {
  background: rgba(242, 233, 210, 0.07);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-card);
  margin: 5px 0;
}

.nav-dropdown-all {
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10.5px;
}

.nav-dropdown-all:hover {
  color: var(--text-primary);
  background: rgba(242, 233, 210, 0.04);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-self: end;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang {
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.lang:hover   { color: var(--text-primary); }
.lang.active  { color: var(--gold); }
.lang-sep     { color: var(--text-muted); }


/* ── HERO ────────────────────────────────── */

.hero {
  margin-top: 80px;
  min-height: 480px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
  padding-bottom: 56px;
}


.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 84px 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 50%;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: flex-start;
  gap: 18px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(242, 233, 210, 0.25));
}

.hero-divider-line:last-child {
  background: linear-gradient(to left, transparent, rgba(242, 233, 210, 0.25));
}

.hero-divider-diamond {
  font-size: 14px;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0;
}

.section-divider {
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 48px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242, 233, 210, 0.22));
}

.section-divider-line:last-child {
  background: linear-gradient(to left, transparent, rgba(242, 233, 210, 0.22));
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-sec);
  max-width: 420px;
  font-weight: 300;
}

.hero-image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* left-edge + bottom-edge fade so image blends into bg on both sides */
.hero-image-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      var(--bg) 0%,
      rgba(11, 11, 8, 0.35) 20%,
      transparent 48%
    ),
    linear-gradient(
      to bottom,
      transparent 60%,
      rgba(11, 11, 8, 0.35) 82%,
      var(--bg) 100%
    );
  pointer-events: none;
}


/* ── CATALOG SECTION ─────────────────────── */

.catalog-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 100px;
  padding-top: 60px;
}


/* ── FILTERS ─────────────────────────────── */

.filters-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.filter-buttons {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.catalog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.filter-btn {
  flex: 1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-sec);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: rgba(242, 233, 210, 0.18);
  color: var(--text-primary);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.filter-btn.active {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.active:hover {
  background: rgba(242, 233, 210, 0.04);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* sort */
.sort-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
}

.sort-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-sec);
  white-space: nowrap;
  pointer-events: none;
  transition: color 0.2s;
}

.sort-chevron {
  color: var(--text-sec);
  flex-shrink: 0;
  pointer-events: none;
  transition: color 0.2s, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-wrap.open .sort-chevron {
  transform: rotate(180deg);
}

.sort-wrap:hover .sort-label,
.sort-wrap:hover .sort-chevron { color: var(--text-primary); }

.sort-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  background: transparent;
  pointer-events: none;
}

/* ── CUSTOM SORT DROPDOWN ─────────────────── */

.sort-wrap {
  user-select: none;
}

.sort-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-top: 1px solid rgba(242, 233, 210, 0.12);
  border-radius: var(--radius);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(242, 233, 210, 0.04);
  z-index: 300;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-sec);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}

.sort-option:last-child {
  border-bottom: none;
}

.sort-option:hover {
  background: rgba(242, 233, 210, 0.04);
  color: var(--text-primary);
}

.sort-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.sort-option.selected {
  color: var(--gold);
}

.sort-option.selected::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.sort-option-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.15s;
  margin-right: 2px;
}

.sort-option:hover .sort-option-icon {
  color: var(--text-sec);
}

.sort-option.selected .sort-option-icon {
  color: var(--gold);
}

.sort-select:focus-visible ~ .sort-label { color: var(--gold); }

/* count */
.results-count {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
}


/* ── PRODUCT GRID ────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}


/* ── PRODUCT CARD ────────────────────────── */

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
  animation: cardIn 0.4s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  border-color: rgba(242, 233, 210, 0.18);
  transform: translateY(-3px);
  z-index: 2;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(242, 233, 210, 0.04);
}

.product-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.card-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f0f0c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .card-img {
  transform: scale(1.06);
}

.card-body {
  padding: 15px 18px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.card-meta {
  font-size: 12px;
  color: var(--text-sec);
  margin-bottom: 1px;
  font-weight: 400;
}

.card-stones {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 0;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card-price-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-price-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
}


/* ── LOAD MORE ───────────────────────────── */

/* ── PAGINATION ─────────────────────────────── */

.pagination-wrap {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pg-arrow,
.pg-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-sec);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pg-arrow {
  width: 36px;
  height: 36px;
}

.pg-num {
  min-width: 36px;
  height: 36px;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pg-num.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0b0b08;
}

.pg-num:not(.active):hover,
.pg-arrow:not(.disabled):hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(217, 157, 44, 0.04);
}

.pg-num:focus-visible,
.pg-arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pg-num:not(.active):active,
.pg-arrow:not(.disabled):active {
  background: rgba(217, 157, 44, 0.08);
}

.pg-arrow.disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.pg-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  color: var(--text-muted);
  user-select: none;
}

/* ── ARTICLES PREVIEW SECTION ───────────────── */

.articles-preview {
  background: var(--bg);
}

.articles-preview-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 48px 100px;
}

.articles-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.articles-preview-heading {
  flex: 1;
}

.articles-preview-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.articles-preview-subtitle {
  font-size: 13.5px;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 520px;
}

.articles-preview-all-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.75;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s, gap 0.25s;
}

.articles-preview-all-link:hover {
  opacity: 1;
  gap: 11px;
}

.articles-preview-all-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Article preview card */
.ap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s ease, box-shadow 0.3s;
  animation: cardIn 0.4s ease both;
}

.ap-card:nth-child(1) { animation-delay: 0.05s; }
.ap-card:nth-child(2) { animation-delay: 0.10s; }
.ap-card:nth-child(3) { animation-delay: 0.15s; }
.ap-card:nth-child(4) { animation-delay: 0.20s; }
.ap-card:nth-child(5) { animation-delay: 0.25s; }
.ap-card:nth-child(6) { animation-delay: 0.30s; }

.ap-card:hover {
  border-color: rgba(242, 233, 210, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(217, 157, 44, 0.06);
}

.ap-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.ap-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.ap-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ap-card:hover .ap-card-img img {
  transform: scale(1.06);
}

.ap-card-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.35;
}

.ap-card-body {
  padding: 24px 28px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ap-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.ap-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.ap-card-excerpt {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-sec);
  flex: 1;
  margin-bottom: 22px;
}

.ap-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.ap-card-readtime {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ap-card-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity 0.2s, gap 0.25s;
}

.ap-card:hover .ap-card-cta {
  opacity: 1;
  gap: 10px;
}

.articles-preview-cta {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.articles-preview-btn {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 44px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-sec);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.articles-preview-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(217, 157, 44, 0.04);
}

.articles-preview-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.articles-preview-btn:active {
  background: rgba(217, 157, 44, 0.08);
}


/* ── FOOTER ──────────────────────────────── */

.site-footer {
  background: #090908;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 48px 56px;
  display: grid;
  grid-template-columns: 280px 32px repeat(3, 1fr) 48px;
  gap: 32px 24px;
  align-items: start;
}


.brand--footer {
  height: 48px;
  width: 182px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.footer-logo-img {
  display: block;
  height: 48px;
  width: 182px;
  margin-bottom: 12px;
  background: var(--text-primary);
  -webkit-mask: url(assets/footer-logo.png) left top / contain no-repeat;
  mask: url(assets/footer-logo.png) left top / contain no-repeat;
}

.footer-tagline {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

.footer-col-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.2s;
}

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

.footer-contacts li {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.65;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: flex-start;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(242, 233, 210, 0.04);
}

.social-icon:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 48px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 400;
}


/* ── HEADER RIGHT (cart + lang + burger wrapper) ── */

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

/* remove the old grid justify from lang-switcher (now inside flex parent) */
.lang-switcher {
  justify-self: unset;
}

/* ── HEADER CART BUTTON ───────────────────── */

.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--text-sec);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
}

.header-cart-btn:hover       { color: var(--text-primary); }
.header-cart-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.header-cart-btn:active { color: var(--gold); }

.cart-badge {
  position: absolute;
  top: 1px;
  right: 0px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--gold);
  color: #0b0b08;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}


/* ── PRODUCT CARD — ADD TO CART ──────────── */

.card-footer {
  flex-shrink: 0;
}

.card-add-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.card-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  color: var(--text-sec);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.card-add-label {
  display: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-add-btn:hover {
  border-color: rgba(242, 233, 210, 0.25);
  color: var(--gold);
  background: rgba(242, 233, 210, 0.04);
}

.card-add-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.card-add-btn:active {
  background: rgba(242, 233, 210, 0.06);
}

.card-add-btn.in-cart {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(242, 233, 210, 0.06);
}

.card-add-btn.in-cart:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(242, 233, 210, 0.08);
}

.card-add-btn.in-cart:active {
  background: rgba(242, 233, 210, 0.1);
}

@media (min-width: 769px) {
  .card-add-btn {
    position: relative;
  }

  .card-add-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--bg-elevated);
    border: 1px solid rgba(242, 233, 210, 0.14);
    border-radius: 3px;
    padding: 5px 11px 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    z-index: 10;
  }

  .card-add-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}


/* ── CART BACKDROP ───────────────────────── */

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 205;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}


/* ── CART SIDEBAR ────────────────────────── */

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 500px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-card);
  z-index: 210;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* gold accent line at the top */
.cart-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242, 233, 210, 0.2), transparent);
  z-index: 1;
}

/* ── CART SIDEBAR HEAD ────────────────────── */

.cart-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-sidebar-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.cart-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  color: var(--text-sec);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cart-close-btn:hover {
  border-color: rgba(242, 233, 210, 0.2);
  color: var(--text-primary);
  background: rgba(242, 233, 210, 0.04);
}

.cart-close-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cart-close-btn:active {
  background: rgba(242, 233, 210, 0.05);
}

/* ── CART ITEMS ───────────────────────────── */

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-card) transparent;
}

.cart-items-wrap::-webkit-scrollbar {
  width: 4px;
}

.cart-items-wrap::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 2px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.cart-item:last-child { border-bottom: none; }

.cart-item:hover { background: rgba(242, 233, 210, 0.015); }

.cart-item-img-wrap {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: #0f0f0c;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.cart-item-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-sec);
  margin-bottom: 6px;
  line-height: 1.4;
}

.cart-metal-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.cart-item-comment {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 7px 10px;
  background: rgba(242, 233, 210, 0.025);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  color: var(--text-sec);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  resize: none;
  transition: border-color 0.2s;
}

.cart-item-comment:focus {
  outline: none;
  border-color: rgba(242, 233, 210, 0.2);
}

.cart-item-comment::placeholder {
  color: var(--text-muted);
}

.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.cart-item-remove:hover {
  color: #c0705a;
  background: rgba(192, 112, 90, 0.08);
}

.cart-item-remove:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* ── CART EMPTY STATE ─────────────────────── */

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 48px 28px;
  color: var(--text-muted);
  text-align: center;
}

.cart-empty-icon {
  opacity: 0.3;
  flex-shrink: 0;
  color: var(--text-sec);
}

.cart-empty-state p {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.cart-empty-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-family: var(--font-body);
  color: var(--text-sec);
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 233, 210, 0.2);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cart-empty-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cart-empty-link svg {
  transition: transform 0.2s ease;
}

.cart-empty-link:hover svg {
  transform: translateX(3px);
}

/* ── CART SIDEBAR FOOTER ──────────────────── */

.cart-sidebar-foot {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-elevated);
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sec);
}

.cart-total-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.btn-cart-checkout {
  width: 100%;
  padding: 13px 20px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-cart-checkout:hover {
  background: var(--gold);
  color: #0b0b08;
}

.btn-cart-checkout:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-cart-checkout:active {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #0b0b08;
}


/* =============================================
   MOBILE — max-width 768px
   ============================================= */

/* ── HAMBURGER BUTTON (hidden on desktop) ──── */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-sec);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s, background 0.2s;
  transform-origin: center;
}

.mobile-menu-btn:hover .hamburger-line { background: var(--text-primary); }

.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--gold);
}
.mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--gold);
}

/* ── MOBILE NAV OVERLAY ───────────────────── */

.mobile-nav-overlay {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(10, 10, 7, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: 48px 28px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}


.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Contacts+social wrapper: invisible to grid on desktop */
.footer-contacts-social-wrap {
  display: contents;
}

.footer-inner > :nth-child(2) { grid-column: 3; }
.footer-inner > :nth-child(3) { grid-column: 4; }
.footer-contacts-social-wrap > .footer-col { grid-column: 5; }
.footer-contacts-social-wrap > .footer-social { grid-column: 6; }

/* Accordion chevron: hidden on desktop */
.footer-accordion-chevron {
  display: none;
}


/* ── ADD-TO-CART MODAL ───────────────────── */

.add-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

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

.add-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  max-width: 720px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 4px 16px rgba(242, 233, 210, 0.04);
}

.add-modal-overlay.open .add-modal {
  transform: translateY(0) scale(1);
}

/* gold line at the very top */
.add-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242, 233, 210, 0.22), transparent);
  z-index: 1;
}

/* ── close button ─── */
.add-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.add-modal-close:hover {
  color: var(--text-primary);
  border-color: var(--border-card);
  background: rgba(242, 233, 210, 0.04);
}

.add-modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── modal image panel ─── */
.add-modal-image-wrap {
  flex-shrink: 0;
  width: 240px;
  background: #0f0f0c;
  overflow: hidden;
  position: relative;
}

.add-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── modal body ─── */
.add-modal-body {
  flex: 1;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.add-modal-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.add-modal-subtitle {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.add-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ── decorative divider ─── */
.add-modal-divider {
  display: flex;
  align-items: center;
  gap: 0;
}

.add-modal-divider::before,
.add-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(242, 233, 210, 0.12);
}

.add-modal-diamond {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(242, 233, 210, 0.25);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 10px;
}

/* ── options ─── */
.add-modal-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.add-modal-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-modal-option-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.add-modal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* metal dots */
.add-modal-metal-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.add-modal-metal-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-modal-metal-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.add-modal-metal-dot:hover  { transform: scale(1.18); }
.add-modal-metal-dot:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

.add-modal-metal-dot.active {
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.5),
    0 0 0 2.5px var(--bg-elevated),
    0 0 0 4.5px var(--text-primary);
}

.metal-dot--yellow { background: #C4A46A; }
.metal-dot--rose   { background: #B89090; }
.metal-dot--white  { background: #D2C4AD; }
.metal-dot--silver { background: #E8E5EB; }

.add-modal-metal-name {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  transition: opacity 0.18s ease;
  min-height: 1em;
}

.add-modal-size-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-modal-size-error {
  font-size: 11px;
  color: #c97a6a;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.add-modal-size-pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

/* purity pills */
.add-modal-pill {
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.add-modal-pill:hover {
  border-color: rgba(242, 233, 210, 0.3);
  color: var(--text-primary);
}

.add-modal-pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.add-modal-pill:active {
  background: rgba(242, 233, 210, 0.06);
}

.add-modal-pill.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(242, 233, 210, 0.06);
}

/* ── action buttons ─── */
.add-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.add-modal-btn-continue {
  flex: 1;
  padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.add-modal-btn-continue:hover {
  border-color: rgba(242, 233, 210, 0.3);
  color: var(--text-primary);
  background: rgba(242, 233, 210, 0.04);
}

.add-modal-btn-continue:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.add-modal-btn-continue:active {
  background: rgba(242, 233, 210, 0.08);
}

.add-modal-btn-orders {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.add-modal-btn-orders:hover {
  background: var(--gold);
  color: #0b0b08;
}

.add-modal-btn-orders:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.add-modal-btn-orders:active {
  background: var(--gold-light);
  color: #0b0b08;
  border-color: var(--gold-light);
}

/* ── mobile modal ─── */
@media (max-width: 600px) {
  .add-modal {
    flex-direction: column;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .add-modal-image-wrap {
    width: 100%;
    height: 200px;
  }

  .add-modal-close {
    background: rgba(11, 11, 8, 0.68);
    border-color: rgba(242, 233, 210, 0.18);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 36px;
    height: 36px;
  }

  .add-modal-close:hover {
    background: rgba(11, 11, 8, 0.85);
    border-color: rgba(242, 233, 210, 0.35);
  }

  .add-modal-body {
    padding: 24px 20px 24px;
  }

  .add-modal-actions {
    flex-direction: column;
  }

  .add-modal-btn-continue,
  .add-modal-btn-orders {
    justify-content: center;
  }
}


@media (min-width: 769px) {
  .mobile-nav-overlay { display: none !important; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
}

.mobile-nav-link {
  font-size: 24px;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--text-sec);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 4px 0;
}

.mobile-nav-link:hover { color: var(--text-primary); }
.mobile-nav-link.active { color: var(--gold); }

.mobile-nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

/* ── RESPONSIVE: tablet (480px–900px) ──────── */

@media (max-width: 900px) and (min-width: 481px) {
  .articles-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── RESPONSIVE: 768px and below ─────────── */

@media (max-width: 768px) {

  /* Header */
  .header-inner {
    padding: 0 20px;
    height: 64px;
    grid-template-columns: 1fr auto;
  }

  .site-header { border-bottom: none; }

  .main-nav                  { display: none; }
  .lang-switcher             { display: none; }
  .mobile-menu-btn           { display: flex; }
  .header-right              { gap: 4px; }

  /* Cart sidebar — mobile: matches mobile nav overlay behavior */
  .cart-sidebar {
    top: 64px;
    width: 100%;
    border-left: none;
    background: rgba(10, 10, 7, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cart-sidebar.open {
    transform: translateY(0);
    opacity: 1;
  }

  /* No backdrop on mobile (cart is full-screen overlay) */
  .cart-backdrop { display: none; }

  /* Cart sidebar internals on mobile */
  .cart-sidebar-head { padding: 20px 20px 16px; }
  .cart-item         { padding: 14px 20px; }
  .cart-sidebar-foot { padding: 16px 20px 24px; }

  .logo-link { width: 140px; }
  .brand     { width: 140px; height: 42px; }

  /* Hero */
  .hero {
    margin-top: 64px;
    min-height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-inner {
    min-height: auto;
    padding: 20px 20px 36px;
    display: block;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
    gap: 16px;
  }

  .hero-title-group {
    align-self: stretch;
    width: 100%;
    align-items: stretch;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
    white-space: normal;
    text-align: center;
  }

  .hero-eyebrow {
    text-align: center;
  }

  .hero-subtitle {
    font-size: 14px;
    max-width: 100%;
    line-height: 1.65;
    text-align: center;
  }

  .hero-inner {
    order: 1;
  }

  .hero-image-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    right: auto;
    top: auto;
    bottom: auto;
    flex-shrink: 0;
    order: 0;
    display: flex;
    justify-content: center;
  }

  .hero-image-fade {
    background:
      linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
  }

  /* Catalog */
  .catalog-section {
    padding: 36px 16px 60px;
  }

  /* Filters */
  .filter-buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
  }

  .filter-buttons::-webkit-scrollbar { display: none; }

  .filter-btn {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  /* Meta row */
  .catalog-meta-row { margin-top: 10px; }
  .results-count    { font-size: 11.5px; }

  /* Product grid — 2 columns */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Card */
  .card-body {
    padding: 10px 12px 13px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .card-title  { font-size: 12px; }
  .card-meta   { font-size: 11px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; }
  .card-stones { font-size: 10.5px; margin-bottom: 0; }

  .card-footer { margin-top: 8px; }

  .card-add-btn {
    width: 100%;
    height: 38px;
    gap: 7px;
  }

  .card-add-label { display: inline; }

  /* Pagination */
  .pagination-wrap { margin-top: 36px; gap: 4px; }
  .pg-arrow, .pg-num { width: 32px; height: 32px; }
  .pg-num { font-size: 12px; }

  /* Articles preview */
  .articles-preview-inner { padding: 56px 20px 72px; }
  .articles-preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }
  .articles-preview-title { font-size: 26px; }
  .articles-preview-grid { grid-template-columns: 1fr; gap: 14px; }
  .ap-card-body { padding: 20px 22px 18px; }
  .ap-card-title { font-size: 18px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 0;
  }

  .footer-inner > :nth-child(2),
  .footer-inner > :nth-child(3) { grid-column: auto; }

  .brand--footer { width: 150px; height: 40px; }

  /* Brand block — centered */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
    -webkit-mask-position: center top;
    mask-position: center top;
  }

  .footer-tagline,
  .footer-desc {
    text-align: center;
  }

  /* Accordion columns */
  .footer-accordion {
    border-bottom: 1px solid var(--border);
  }

  .footer-accordion .footer-col-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 18px 0;
    user-select: none;
  }

  .footer-accordion-chevron {
    display: block;
    color: var(--text-sec);
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .footer-accordion.open .footer-accordion-chevron {
    transform: rotate(180deg);
  }

  .footer-accordion ul {
    display: none;
    padding-bottom: 18px;
  }

  .footer-accordion.open ul {
    display: flex;
    animation: accordionIn 0.25s ease both;
  }

  @keyframes accordionIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Contacts + social — combined card block */
  .footer-contacts-social-wrap {
    display: block;
    margin-top: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-card);
    border-top: 2px solid rgba(242, 233, 210, 0.15);
    border-radius: 6px;
    padding: 20px 20px 16px;
  }

  .footer-contacts-social-wrap .footer-col-title {
    margin-bottom: 14px;
  }

  .footer-contacts-social-wrap .footer-col {
    margin-bottom: 0;
  }

  .footer-contacts li {
    margin-bottom: 5px;
    gap: 7px;
  }

  .footer-social {
    flex-direction: row;
    align-self: auto;
    margin-top: 14px;
    gap: 10px;
  }

  .footer-bottom p {
    padding: 16px 20px;
    font-size: 11px;
  }
}
