:root {
  --ink: #1b1c18;
  --muted: #6f7068;
  --stone: #e9e4da;
  --sand: #c8b69c;
  --dark: #24251f;
  --paper: #f6f3ed;
  --white: #fff;
  --line: #dcd6ca;
  --accent: #7a5b3c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 237, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 28, 24, 0.08);
}
.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand small {
  display: block;
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 0.22em;
  margin-top: 3px;
  font-weight: 500;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid #7f7566;
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
}
.main-nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: #45463f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition:
    width 0.3s,
    left 0.3s;
}
.main-nav a:hover {
  color: var(--accent);
}
.main-nav a:hover::after {
  width: 100%;
  left: 0;
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.lang-btn.active {
  background: var(--dark);
  color: #fff;
}
.lang-btn:hover:not(.active) {
  color: var(--ink);
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.icon-btn span {
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 20px;
  background: var(--dark);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.admin-link {
  font-size: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark) url("../img/bg.png") center center / cover no-repeat;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 18, 0.55) 0%,
    rgba(20, 20, 18, 0.35) 40%,
    rgba(20, 20, 18, 0.6) 100%
  );
}
.hero:after {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 140px 0 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow,
.mini-label {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: inherit;
  opacity: 0.8;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
}
.hero-content .eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0.9;
}
.hero-content .eyebrow::before,
.hero-content .eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(50px, 7.5vw, 92px);
  line-height: 1.02;
  max-width: 820px;
  margin: 22px auto 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: italic;
  color: #d6c6ab;
  letter-spacing: 0.02em;
}
.hero-copy {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  font-size: 15.5px;
  margin: 0 auto;
  letter-spacing: 0.015em;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: 600 13px "DM Sans";
  cursor: pointer;
}
.btn-primary {
  background: #eee5d4;
  color: #29271f;
}
.btn-primary:hover {
  background: #fff;
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-small {
  padding: 9px 13px;
  background: var(--dark);
  color: #fff;
}
.hero-stone-note {
  position: absolute;
  right: 46px;
  bottom: 36px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.17em;
}
.hero-stone-note b {
  font-size: 14px;
  color: #fff;
}
.intro-strip {
  background: #d8cfbf;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
}
.intro-grid > div {
  padding: 4px 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}
.intro-grid > div:first-child {
  padding-left: 0;
}
.intro-grid > div:last-child {
  border-right: 0;
}
.intro-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}
.section {
  padding: 96px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.section-head {
  text-align: left;
}
.section h2,
.heritage-copy h2,
.custom-card h2,
.cart-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 50px;
  line-height: 1.08;
  margin: 8px 0 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section-note {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.7;
}
.filter-row {
  display: flex;
  gap: 8px;
  margin: 28px 0;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 9px 14px;
  font: 500 12px "DM Sans";
  cursor: pointer;
}
.filter.active,
.filter:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(41, 34, 25, 0.04);
  display: flex;
  flex-direction: column;
}
.product-media {
  height: 260px;
  position: relative;
  background: linear-gradient(135deg, #dad3c7, #8c806f);
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stone-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  background: radial-gradient(circle at 40% 30%, #a99e8d, #5d564c 65%, #3d3932);
}
.stone-placeholder span {
  font-size: 50px;
  font-family: serif;
}
.stone-placeholder small {
  font-size: 10px;
  letter-spacing: 0.25em;
}
.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 10px;
}
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  font-weight: 700;
}
.product-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin: 7px 0;
  font-weight: 600;
}
.product-body p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 13px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  padding: 10px 0;
  border-top: 1px solid #eee9df;
  border-bottom: 1px solid #eee9df;
  color: #5d5b53;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
}
.product-bottom strong {
  font-size: 14px;
}
.heritage-section {
  padding: 110px 0;
  background: #302f28;
  color: #f3eee5;
}
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.heritage-copy p:not(.eyebrow) {
  line-height: 1.8;
  color: #c9c4b9;
}
.heritage-points {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.heritage-points div {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 13px;
}
.heritage-points b {
  font-family: "Cormorant Garamond", serif;
  color: #bda886;
  font-size: 20px;
  font-weight: 500;
}
.heritage-card {
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(185, 163, 130, 0.3),
      transparent 25%
    ),
    linear-gradient(145deg, #4a453b, #20201d);
}
.heritage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 24px;
  opacity: 0.85;
}
.heritage-card span {
  position: relative;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  margin-top: auto;
  padding-bottom: 18px;
}
.custom-card {
  background: #ddd3c3;
  border: 1px solid #cfc4b2;
  border-radius: 24px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
}
.custom-card p:not(.eyebrow) {
  color: #5f5a50;
  line-height: 1.7;
  max-width: 680px;
}
.cart-section {
  background: #ece6dc;
  padding: 100px 0;
}
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
}
.cart-items {
  margin-top: 24px;
}
.empty-cart {
  border: 1px dashed #bdb4a7;
  padding: 34px;
  border-radius: 16px;
  color: var(--muted);
}
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #d8d0c5;
}
.cart-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg, #aa9a84, #4b473e);
}
.cart-item h4 {
  margin: 0 0 5px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}
.cart-item small {
  color: var(--muted);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #c9c1b4;
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  border: 0;
  background: transparent;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.qty-control span {
  width: 24px;
  text-align: center;
  font-size: 12px;
}
.remove-item {
  background: none;
  border: 0;
  color: #966046;
  cursor: pointer;
}
.cart-summary {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  align-self: start;
  position: sticky;
  top: 96px;
  border: 1px solid #e2dbd1;
}
.cart-summary h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  margin-top: 0;
  font-weight: 500;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #eee8de;
  color: #5c5a54;
}
.summary-line.total {
  font-size: 17px;
  color: var(--ink);
}
.cart-summary .small {
  color: #858077;
  font-size: 11px;
  line-height: 1.6;
}
.full {
  width: 100%;
  margin-top: 8px;
}
.footer {
  background: #1f201b;
  color: #c9c4b9;
  padding: 44px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.footer .brand {
  color: #fff;
}
.footer p {
  font-size: 12px;
  color: #8e8a80;
}
.footer .mini-label {
  display: block;
  margin-bottom: 10px;
}
.footer a {
  font-size: 12px;
}
.footer span:last-child {
  font-size: 12px;
}
.hidden {
  display: none !important;
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .intro-grid > div {
    border-right: 0;
    padding: 8px 0;
  }
  .heritage-grid {
    grid-template-columns: 1fr;
  }
  .cart-grid {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .custom-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .main-nav {
    display: none;
  }
  .hero-stone-note {
    display: none;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .hero {
    min-height: 100vh;
  }
  .hero-content {
    padding: 100px 0;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-stone-note {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
  .section-head {
    display: block;
  }
  .section h2,
  .heritage-copy h2,
  .custom-card h2,
  .cart-section h2 {
    font-size: 38px;
  }
  .cart-item {
    grid-template-columns: 54px 1fr auto;
  }
  .cart-item .qty-control {
    grid-column: 2;
  }
  .cart-item .remove-item {
    grid-column: 3;
    grid-row: 1;
  }
  .cart-thumb {
    width: 54px;
    height: 54px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-wrap {
    height: 64px;
  }
  .admin-link {
    display: none;
  }
  .brand strong {
    font-size: 15px;
  }
  .hero-content .eyebrow::before,
  .hero-content .eyebrow::after {
    width: 28px;
  }
}
