
/* Gatsby - Art Deco theme: emerald, champagne gold, ivory, sharp geometry */
:root {
  --emerald: #0d3b2e;
  --emerald-2: #164b3b;
  --gold: #c8a55b;
  --gold-soft: #e0c690;
  --gold-dark: #8f7238;
  --ivory: #f7f2e4;
  --ivory-2: #efe8d6;
  --charcoal: #1a1a1a;
  --burgundy: #6b1f2e;
  --line: rgba(200, 165, 91, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Josefin Sans', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: 0.02em;
}
h1, h2, h3, .display {
  font-family: 'Marcellus', 'Poiret One', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--emerald);
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: 0.08em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); letter-spacing: 0.08em; }
h3 { font-size: 1.1rem; letter-spacing: 0.1em; }
a { color: var(--emerald); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Gold hairline divider */
.hairline {
  height: 1px;
  background: var(--gold);
  position: relative;
  margin: 0;
}
.hairline::before, .hairline::after {
  content: "◆";
  position: absolute;
  top: -9px;
  color: var(--gold);
  font-size: 0.7rem;
  background: var(--ivory);
  padding: 0 8px;
}
.hairline::before { left: 50%; transform: translateX(-50%); }

/* Sunburst ornament */
.sunburst {
  display: inline-block;
  width: 60px; height: 60px;
  margin: 0 auto;
  position: relative;
}

/* Header */
header.site-header {
  background: var(--emerald);
  color: var(--ivory);
  border-bottom: 3px double var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding: 16px 32px; max-width: 1180px; margin: 0 auto;
}
.brand {
  font-family: 'Marcellus', serif;
  font-size: 1.4rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
  color: var(--ivory);
}
.brand-mark {
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 1rem;
  font-family: 'Marcellus', serif;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold);
}
nav.main-nav { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
nav.main-nav a {
  color: var(--ivory); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 300;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  text-decoration: none;
}
.header-tools { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 0; border: 1px solid var(--gold); }
.lang-switch button {
  background: transparent; border: 0; padding: 6px 12px; cursor: pointer;
  font-family: inherit; font-weight: 400; font-size: 0.75rem;
  color: var(--ivory); letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.lang-switch button.active {
  background: var(--gold); color: var(--emerald);
}
.cart-btn {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.cart-btn:hover { background: var(--gold); color: var(--emerald); text-decoration: none; }
.cart-count {
  color: var(--gold-soft); font-size: 0.85rem;
}
.cart-btn:hover .cart-count { color: var(--emerald); }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 34px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.22em;
  cursor: pointer; border: 0; background: transparent;
  transition: all 0.3s; position: relative;
}
.btn-primary {
  background: var(--emerald);
  color: var(--ivory);
  border: 1px solid var(--emerald);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--emerald);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--emerald);
  border: 1px solid var(--emerald);
}
.btn-outline:hover {
  background: var(--emerald);
  color: var(--ivory);
  text-decoration: none;
}
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 700px; height: 700px;
  background:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      rgba(200, 165, 91, 0.05) 0deg 2deg,
      transparent 2deg 20deg
    );
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 26px;
  font-weight: 400;
}
.hero-eyebrow::before {
  content: "◆  ";
  color: var(--gold);
  font-size: 0.6rem;
  vertical-align: middle;
}
.hero-eyebrow::after {
  content: "  ◆";
  color: var(--gold);
  font-size: 0.6rem;
  vertical-align: middle;
}
.hero h1 { margin-bottom: 22px; }
.hero p.lead {
  font-size: 1.05rem; color: #4a4a4a;
  margin: 0 0 38px; max-width: 500px;
  letter-spacing: 0.02em;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  padding: 24px;
  background: var(--emerald);
  border: 1px solid var(--gold);
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}
.hero-image img {
  border-radius: 0;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* Badges strip */
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: var(--ivory-2);
  margin: 0 32px;
  max-width: 1116px;
  margin-left: auto; margin-right: auto;
}
.badge {
  padding: 22px 18px;
  text-align: center;
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  border-right: 1px solid var(--line);
  font-weight: 400;
}
.badge:last-child { border-right: 0; }
.badge::before {
  content: "◆";
  color: var(--gold);
  margin-right: 10px;
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Sections */
section { padding: 90px 0; }
.section-title {
  margin-bottom: 14px;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
  position: relative;
}
.section-title::before {
  content: "◆";
  display: block;
  color: var(--gold);
  font-size: 0.6rem;
  text-align: center;
  margin-top: 12px;
  margin-bottom: -8px;
}
.section-sub {
  color: #666;
  max-width: 640px;
  margin: 0 auto 60px;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--gold);
}
.card {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  text-align: center;
  position: relative;
  transition: background 0.4s;
}
.card:hover { background: var(--ivory-2); }
.card:last-child { border-right: 0; }
.card h3 {
  margin-bottom: 14px;
  color: var(--emerald);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}
.card p {
  color: #666;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.product-card {
  background: var(--ivory);
  border: 1px solid var(--gold);
  display: flex; flex-direction: column;
  position: relative;
  transition: all 0.4s;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.4s;
  z-index: 2;
}
.product-card:hover::before { border-color: var(--gold); }
.product-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-bottom: 1px solid var(--gold);
}
.product-card .pc-body {
  padding: 26px 24px;
  flex: 1; display: flex; flex-direction: column;
  text-align: center;
}
.product-card h3 {
  margin-bottom: 6px; font-size: 0.98rem;
  letter-spacing: 0.1em;
}
.product-card .price {
  font-family: 'Marcellus', serif;
  font-size: 1.35rem; color: var(--gold-dark);
  margin: 14px 0 22px;
  letter-spacing: 0.08em;
}

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
.product-detail img {
  border: 1px solid var(--gold);
  padding: 24px;
  background: var(--ivory-2);
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.pd-price {
  font-family: 'Marcellus', serif;
  font-size: 2rem; color: var(--gold-dark);
  margin: 14px 0 28px;
  letter-spacing: 0.06em;
}
.pd-block {
  margin-top: 32px; padding-top: 26px;
  border-top: 1px solid var(--gold);
}
.pd-block h3 {
  margin-bottom: 14px; color: var(--gold-dark);
  font-size: 0.75rem; letter-spacing: 0.24em;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
}
.pd-block h3::before {
  content: "◆ ";
  color: var(--gold);
  font-size: 0.6rem;
}
.pd-block ul { padding-left: 22px; color: #666; }
.pd-block li { margin-bottom: 8px; letter-spacing: 0.02em; }
.pd-block p { color: #666; letter-spacing: 0.02em; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block; margin-bottom: 8px;
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--emerald);
  font-weight: 400;
}
input, textarea, select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  font-family: inherit; font-size: 1rem;
  color: var(--charcoal); letter-spacing: 0.02em;
  border-radius: 0;
  transition: all 0.3s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
}
textarea { resize: vertical; min-height: 120px; }

/* Cart */
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 26px;
  align-items: center; padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  border: 1px solid var(--gold);
  padding: 8px;
  background: var(--ivory-2);
}
.cart-item h3 {
  font-size: 0.98rem; margin-bottom: 6px;
  letter-spacing: 0.1em;
}
.qty {
  display: inline-flex; align-items: center; gap: 0;
  margin-top: 12px;
  border: 1px solid var(--gold);
}
.qty button {
  width: 34px; height: 34px; border: 0;
  background: transparent; cursor: pointer;
  font-size: 1.05rem; color: var(--emerald);
  transition: all 0.3s;
}
.qty button:hover { background: var(--gold); color: var(--ivory); }
.qty span {
  padding: 0 16px;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.08em;
}
.cart-total {
  text-align: right; margin-top: 36px; padding: 34px;
  background: var(--emerald);
  color: var(--ivory);
  border: 1px solid var(--gold);
  position: relative;
}
.cart-total::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.cart-total .sum {
  font-family: 'Marcellus', serif;
  font-size: 2rem; color: var(--gold-soft);
  letter-spacing: 0.06em;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 28px 0;
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald); cursor: pointer;
  display: flex; justify-content: space-between;
  align-items: center; gap: 22px;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold-dark); }
.faq-q::after {
  content: "+";
  font-size: 1.4rem; color: var(--gold);
  font-family: 'Marcellus', serif;
  transition: transform 0.3s;
  min-width: 30px; text-align: right;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  color: #666;
}
.faq-a p { letter-spacing: 0.02em; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 26px; }

/* Legal */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 {
  margin: 44px 0 16px;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--emerald);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}
.legal h2:first-of-type { margin-top: 22px; }
.legal p, .legal li { color: #666; margin-bottom: 12px; letter-spacing: 0.02em; }
.legal ol, .legal ul { padding-left: 22px; }

/* Reviews */
.review {
  padding: 40px 30px;
  background: var(--ivory-2);
  border: 1px solid var(--gold);
  position: relative;
  text-align: center;
}
.review::before, .review::after {
  content: "❝";
  font-family: 'Marcellus', serif;
  font-size: 2.5rem;
  color: var(--gold);
  position: absolute;
  line-height: 1;
}
.review::before { top: 12px; left: 18px; }
.review::after { content: "❞"; bottom: 12px; right: 18px; }
.review .who {
  margin-top: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 400;
}
.review .stars {
  color: var(--gold-dark);
  letter-spacing: 6px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.review p {
  font-family: 'Marcellus', serif;
  font-size: 1.02rem;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* Footer */
footer.site-footer {
  background: var(--emerald);
  color: var(--ivory);
  padding: 80px 0 32px;
  margin-top: 60px;
  border-top: 3px double var(--gold);
  position: relative;
}
footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
footer.site-footer h4 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}
footer.site-footer h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  margin-top: 10px;
}
footer.site-footer a {
  color: var(--ivory); font-size: 0.9rem;
  line-height: 2.1; opacity: 0.85;
  letter-spacing: 0.04em;
}
footer.site-footer a:hover { color: var(--gold); opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 2px; }
.footer-brand .brand { color: var(--ivory); margin-bottom: 18px; }
.footer-brand .brand-mark {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.footer-brand p {
  color: var(--ivory); opacity: 0.72;
  font-size: 0.9rem; margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cert {
  padding: 6px 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.footer-bottom {
  border-top: 1px solid rgba(200, 165, 91, 0.3);
  margin-top: 50px; padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.75rem; color: var(--ivory);
  opacity: 0.7; letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Thx */
.thx-wrap { text-align: center; padding: 120px 0; }
.thx-icon {
  width: 100px; height: 100px;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-size: 2.4rem;
  display: grid; place-items: center;
  margin: 0 auto 34px;
  font-family: 'Marcellus', serif;
  position: relative;
}
.thx-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
}

/* Banners */
.info-banner {
  padding: 20px 26px; margin: 26px 0;
  background: var(--ivory-2);
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold-dark);
  color: #555; font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .product-detail, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .hero { padding: 60px 0; }
  section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .hero::before { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item .ci-total { grid-column: 2; text-align: left; }
  .container { padding: 0 22px; }
  .badges { margin: 0 22px; }
}
