:root {
  --sand: #f5efe6;
  --sand-2: #ece3d2;
  --sage: #7a8a6c;
  --sage-dark: #5e6b53;
  --terracotta: #c47a5a;
  --ink: #2a2a28;
  --muted: #6b6b66;
  --line: #e5ddcc;
  --white: #fffdf8;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(60,50,30,.06);
  --radius: 10px;
  --maxw: 1180px;
  --font-head: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--maxw); margin: 0 auto; gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
}
.logo span { color: var(--terracotta); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--terracotta); }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--sand);
}
.cart-count {
  background: var(--terracotta); color: var(--white);
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; font-size: .75rem; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 600;
}
@media (max-width: 720px) {
  .nav .nav-link-secondary { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #fbf3e4 0%, #f0e6d0 60%, #e8dfca 100%);
  padding: 80px 0 90px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 720px; margin: 0 auto .4em; }
.hero p { max-width: 560px; margin: 0 auto 1.6em; color: var(--muted); font-size: 1.1rem; }
.btn {
  display: inline-block; padding: 12px 28px;
  background: var(--ink); color: var(--white);
  border: none; border-radius: 999px;
  font-size: .95rem; font-weight: 500; cursor: pointer;
  text-decoration: none; transition: background .15s ease;
}
.btn:hover { background: var(--terracotta); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Section */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }

/* Product grid */
.grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card a { color: inherit; }
.product-card .thumb { aspect-ratio: 1 / 1; background: var(--sand-2); }
.product-card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.product-card .price { font-size: 1rem; color: var(--ink); font-weight: 500; margin-top: auto; }

/* Product page */
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  padding: 56px 0;
}
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; } }
.gallery .main-image {
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; background: var(--sand-2); border: 1px solid var(--line);
}
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button {
  background: var(--sand); border: 1px solid var(--line); border-radius: 8px;
  padding: 0; aspect-ratio: 1/1; overflow: hidden; cursor: pointer;
}
.thumbs button.active { border-color: var(--ink); }

.product-info h1 { margin-bottom: .3em; }
.product-info .price { font-size: 1.5rem; font-weight: 500; margin: 0 0 .6em; color: var(--ink); }
.product-info .reviews { color: var(--muted); font-size: .9rem; margin-bottom: 1.5em; }
.product-info .stars { color: var(--terracotta); letter-spacing: 2px; margin-right: 6px; }

.option-group { margin: 22px 0; }
.option-group label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.option-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--white); font-size: 1rem;
  font-family: inherit;
}
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); cursor: pointer; font-size: .85rem;
}
.swatch.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.qty-row { display: flex; gap: 12px; align-items: center; margin: 22px 0; }
.qty-row input {
  width: 70px; padding: 10px; border: 1px solid var(--line); border-radius: 8px;
  text-align: center; font-size: 1rem; font-family: inherit;
}

.product-meta { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.product-meta details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.product-meta summary { cursor: pointer; font-weight: 500; font-size: .95rem; }
.product-meta summary:hover { color: var(--terracotta); }
.product-meta p { margin: 12px 0 4px; color: var(--muted); font-size: .92rem; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: middle; }
.cart-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 500; }
.cart-table img { width: 70px; border-radius: 6px; }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-summary {
  margin-top: 32px; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--sand);
  max-width: 380px; margin-left: auto;
}
.cart-summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.cart-summary .row.total { font-size: 1.2rem; font-weight: 600; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.empty-cart { text-align: center; padding: 56px 0; color: var(--muted); }
.remove-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.remove-btn:hover { color: var(--terracotta); }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 40px 0; }
@media (max-width: 860px) { .checkout-layout { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label { display: block; font-size: .85rem; margin-bottom: 6px; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--white); font-size: 1rem;
  font-family: inherit;
}
.payment-method {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.checkout-summary {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 100px;
}

/* Content pages */
.page-content { max-width: 760px; padding: 56px 24px 80px; margin: 0 auto; }
.page-content h1 { margin-bottom: .3em; }
.page-content .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2em; }
.page-content h2 { margin-top: 1.8em; }
.page-content h3 { margin-top: 1.4em; }
.page-content ul, .page-content ol { padding-left: 1.4em; }
.page-content li { margin-bottom: .4em; }

/* Trust strip */
.trust {
  background: var(--sand);
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; text-align: center;
}
.trust-item h4 { font-family: var(--font-body); font-size: .95rem; margin: 0 0 4px; font-weight: 600; }
.trust-item p { font-size: .85rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  background: #2a2a28; color: #d3cfc4; padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #3d3d3a;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--font-body); color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #d3cfc4; font-size: .92rem; }
.footer-col a:hover { color: var(--white); }
.footer-brand .logo { color: var(--white); display: block; margin-bottom: 12px; }
.footer-brand p { font-size: .92rem; color: #a8a49a; line-height: 1.7; }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #8a867d;
}
.footer-bottom a { color: #8a867d; margin-left: 16px; }

/* Notification */
.notify {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--ink); color: var(--white);
  padding: 14px 20px; border-radius: 8px;
  box-shadow: var(--shadow); z-index: 100;
  font-size: .9rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.notify.show { opacity: 1; transform: translateY(0); }

/* About / Contact */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.info-card {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.info-card h3 { margin-top: 0; }
