:root {
  --green-900: #0b3a2e;
  --green-800: #0f4a3a;
  --green-700: #135f48;
  --gold: #c9a24a;
  --gold-dark: #a9832f;
  --cream: #f7f2e7;
  --bg: #fbf7ec;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --white: #ffffff;
  --red: #d64545;
  --border: #e6e0cf;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  --radius: 6px;
  --container: 1240px;
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Top strip ---------- */
.topbar {
  background: var(--green-900);
  color: var(--cream);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .promo { color: var(--gold); }
.topbar .promo span { color: var(--cream); margin-left: 8px; }
.topbar .links { display: flex; gap: 20px; }
.topbar .links a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--green-800); color: var(--white); }
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo { font-family: var(--font-serif); text-align: center; line-height: 1; }
.logo .brand { display: block; font-size: 30px; letter-spacing: 4px; color: var(--gold); font-weight: 700; }
.logo .tag { display: block; font-size: 9px; letter-spacing: 6px; color: var(--cream); margin-top: 4px; }

.search {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.search select {
  border: 0;
  padding: 0 14px;
  background: #f3f3f3;
  color: var(--ink);
  border-right: 1px solid var(--border);
  font-size: 13px;
  outline: none;
}
.search input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
}
.search button {
  background: var(--gold);
  color: var(--white);
  padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.search button:hover { background: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .action { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-size: 13px; }
.header-actions .action:hover { color: var(--gold); }
.header-actions .cart { position: relative; }
.header-actions .cart .count {
  position: absolute; top: -6px; right: -10px;
  background: var(--gold); color: var(--white);
  border-radius: 999px; font-size: 10px; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- Nav ---------- */
.site-nav { background: var(--green-800); border-top: 1px solid rgba(255,255,255,0.08); }
.site-nav .container { display: flex; justify-content: center; gap: 8px; }
.site-nav a {
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 14px 18px;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
}
.site-nav a.active, .site-nav a:hover { color: var(--gold); border-color: var(--gold); }
.nav-toggle { display: none; padding: 12px; color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 460px;
  padding: 60px 20px;
}
.hero .eyebrow { color: var(--gold); letter-spacing: 4px; font-size: 12px; font-weight: 600; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1.05;
  margin: 18px 0 20px;
  font-weight: 500;
}
.hero h1 em { color: var(--gold); font-style: normal; display: block; }
.hero p { color: rgba(255,255,255,0.8); max-width: 420px; margin-bottom: 30px; }
.hero-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1a5a45, #0b3a2e);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 20px;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.hero-dots { display: flex; gap: 8px; justify-content: center; padding: 18px 0; background: var(--green-900); }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.hero-dots span.on { background: var(--gold); width: 22px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform .15s, background .15s;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-dark { background: var(--green-900); color: var(--white); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); }

/* ---------- Section titles ---------- */
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 4px;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.section-title .accent { color: var(--gold); }
.section-underline {
  width: 90px; height: 1px; background: var(--gold);
  position: relative; margin: 10px auto 40px;
}
.section-underline::before {
  content: "◆"; color: var(--gold); font-size: 10px;
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  background: inherit;
}
.section.alt { background: var(--bg); }
.section.dark { background: var(--green-900); color: var(--white); }
.section.dark .section-title { color: var(--white); }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 780px;
  margin: 0 auto;
}
.cat-card { text-align: center; }
.cat-thumb {
  width: 190px; height: 190px; margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(160deg, #143f31, #0b3a2e);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--font-serif);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  border-radius: 50%;
}
.cat-card h4 { font-family: var(--font-serif); font-size: 16px; margin: 0 0 6px; }
.cat-card .more {
  color: var(--gold); display: inline-flex; width: 22px; height: 22px;
  border: 1px solid var(--gold); border-radius: 50%;
  align-items: center; justify-content: center; font-size: 12px;
}

/* ---------- USP row ---------- */
.usps {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.usp-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  padding: 26px 0;
}
.usp {
  text-align: center; padding: 8px 12px;
  border-right: 1px solid var(--border);
}
.usp:last-child { border-right: 0; }
.usp .icon {
  width: 40px; height: 40px; border: 1px solid var(--green-800); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--green-800); margin-bottom: 8px;
}
.usp h5 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.usp p { margin: 4px 0 0; font-size: 11px; color: var(--muted); }

/* ---------- Products ---------- */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.section-head .section-title { text-align: left; margin: 0; }
.product-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media {
  position: relative; aspect-ratio: 1; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px; overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .3s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--green-800); color: var(--white);
  font-size: 10px; padding: 3px 8px; border-radius: 3px; letter-spacing: 1px;
}
.badge.sale { background: var(--red); }
.wish {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.product-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.stars { color: var(--gold); font-size: 12px; }
.stars small { color: var(--muted); margin-left: 4px; }
.product-title { font-size: 13px; font-weight: 600; margin: 0; color: var(--ink); }
.price { display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
.price .now { font-weight: 700; }
.price .was { text-decoration: line-through; color: var(--muted); font-size: 12px; }
.price .off { color: var(--red); font-size: 11px; font-weight: 600; }
.add-cart {
  background: var(--gold); color: var(--white);
  padding: 8px; border-radius: 4px; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.add-cart:hover { background: var(--gold-dark); }

.carousel { position: relative; }
.carousel .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-800); z-index: 2;
}
.carousel .nav-btn.prev { left: -14px; }
.carousel .nav-btn.next { right: -14px; }

/* ---------- Featured jewellery ---------- */
.feat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.feat-card {
  aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(160deg, #1a5a45, #0b3a2e);
  position: relative; overflow: hidden; color: var(--white);
  display: flex; align-items: flex-end; padding: 14px;
  font-size: 12px; letter-spacing: 1px;
  cursor: pointer;
}
.feat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .4s ease;
}
.feat-card:hover img { transform: scale(1.08); }
.feat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65));
  z-index: 1;
}
.feat-card span { position: relative; z-index: 2; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

/* ---------- Promo tiles ---------- */
.promo-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
.promo-card {
  background: linear-gradient(140deg, var(--green-800), var(--green-900));
  color: var(--white); border-radius: var(--radius);
  padding: 30px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.promo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,58,46,0.75) 0%, rgba(11,58,46,0.5) 60%, rgba(11,58,46,0.2) 100%);
  z-index: 1;
}
.promo-content { position: relative; z-index: 2; }
.promo-card > .btn { position: relative; z-index: 2; align-self: flex-start; }
.promo-card h3 {
  font-family: var(--font-serif); font-size: 26px; margin: 8px 0 4px; letter-spacing: 2px;
}
.promo-card .kicker { color: var(--gold); font-size: 11px; letter-spacing: 3px; font-weight: 600; }
.promo-card p { color: rgba(255,255,255,0.85); font-size: 13px; margin: 4px 0 14px; }
.promo-card.offer { background: linear-gradient(140deg, var(--green-800), var(--green-900)); }
.promo-card.offer h3 { font-size: 48px; color: var(--gold); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--green-900), var(--green-800));
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
}
.newsletter h3 { font-family: var(--font-serif); color: var(--gold); font-size: 26px; margin: 0 0 8px; letter-spacing: 3px; }
.newsletter p { color: rgba(255,255,255,0.75); margin: 0 0 16px; }
.newsletter form { display: flex; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.newsletter input { flex: 1; border: 0; padding: 14px; outline: none; font-size: 13px; }
.newsletter button { background: var(--gold); color: var(--white); padding: 0 24px; font-weight: 700; letter-spacing: 1px; font-size: 12px; }
.newsletter button:hover { background: var(--gold-dark); }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.ig-grid .cell {
  aspect-ratio: 1; background: var(--cream);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px;
  overflow: hidden; position: relative; cursor: pointer;
}
.ig-grid .cell::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(11,58,46,0); transition: background .25s;
}
.ig-grid .cell:hover::after { background: rgba(11,58,46,0.45); }
.ig-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 1px;
  opacity: 0; transition: opacity .25s; z-index: 2;
}
.ig-grid .cell:hover .ig-overlay { opacity: 1; }

/* ---------- Testimonials ---------- */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.test-card .stars { margin-bottom: 8px; }
.test-card p { font-size: 13px; color: #444; margin: 0 0 16px; }
.test-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-800); font-weight: 700; font-size: 13px;
}
.test-user h5 { margin: 0; font-size: 13px; }
.test-user span { font-size: 11px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900); color: var(--cream);
  padding: 50px 0 20px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.foot-grid h5 {
  color: var(--gold); font-size: 12px; letter-spacing: 2px;
  margin: 0 0 14px; text-transform: uppercase;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand .logo { text-align: left; }
.foot-brand p { font-size: 12px; color: rgba(255,255,255,0.6); margin: 14px 0; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-icons span {
  background: var(--white); color: var(--ink);
  border-radius: 3px; font-size: 10px; font-weight: 700;
  padding: 4px 6px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 30px; padding-top: 16px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .site-header .container { grid-template-columns: auto auto; }
  .search { grid-column: 1 / -1; order: 3; }
  .site-nav .container { display: none; flex-direction: column; }
  .site-nav .container.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .cat-grid, .promo-grid, .test-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp { border-right: 0; }
  .product-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; height: auto; padding: 6px 20px; gap: 4px; }
}
