:root {
  --cream: #f8f4ef;
  --cream-deep: #efe6db;
  --ink: #211d1a;
  --ink-soft: #5c554d;
  --rose: #e3b9ae;
  --rose-deep: #c98f82;
  --lilac: #cdb9d8;
  --line: #e6ddd0;
  --radius: 4px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Jost', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin: 0 0 0.4em;
  color: var(--ink);
}

.accent-italic {
  font-style: italic;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.brand-accent {
  font-weight: 400;
  font-style: italic;
  color: var(--rose-deep);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--rose-deep);
}

/* Hero */

.hero {
  position: relative;
  background: linear-gradient(160deg, #d9b8c4 0%, #cdb9d8 35%, #8f8fae 70%, #4d4c63 100%);
  border-radius: 0 0 120px 120px;
  overflow: hidden;
  padding: 90px 0 70px;
  text-align: center;
  color: #fff;
}

.hero-eyebrow {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 58px);
  margin-bottom: 26px;
}

.hero .btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  backdrop-filter: blur(2px);
}

.hero .btn:hover {
  background: #fff;
  color: var(--ink);
}

/* Sections */

.section {
  padding: 80px 0;
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--rose-deep);
  margin-bottom: 12px;
}

.lead {
  font-size: 22px;
  line-height: 1.5;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 20px 34px;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.container-narrow {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* Product */

.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  padding: 70px 0;
}

.product-gallery img {
  border-radius: var(--radius);
  background: var(--cream-deep);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.product-info .eyebrow { margin-top: 0; }

.product-info h1 {
  font-size: 36px;
}

.product-price {
  font-size: 28px;
  font-family: 'Playfair Display', serif;
  color: var(--rose-deep);
  margin: 18px 0;
}

.product-tagline {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.shipping-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* Buy box — price + shipping + CTA bundled into one prominent unit */

.buy-box {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.buy-box__price {
  font-size: 34px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 12px;
}

.buy-box__shipping {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.buy-box__shipping a {
  text-decoration: underline;
  font-weight: 600;
}

.buy-box__shipping-icon {
  font-size: 16px;
}

.buy-again-section {
  text-align: center;
}

.buy-again-section .buy-box {
  text-align: left;
}

/* Homepage product thumbnails */

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.thumb-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: block;
}

.thumb-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.thumb-card__image {
  background: var(--cream-deep);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.thumb-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-card__body {
  padding: 18px 20px;
}

.thumb-card__tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  background: var(--cream-deep);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.thumb-card__body h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.thumb-card__price {
  font-family: 'Playfair Display', serif;
  color: var(--rose-deep);
  font-size: 18px;
  font-weight: 600;
}

.product-list {
  margin: 24px 0;
  padding-left: 20px;
}

.product-list li {
  margin-bottom: 8px;
}

.product-tabs h3 {
  font-size: 20px;
  margin-top: 40px;
}

/* Trust strip */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.trust-strip__item h3 {
  font-size: 17px;
}

.trust-strip__item p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

/* Forms */

.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #e7f3ea;
  color: #2a5c3a;
}

.alert-error {
  background: #fbe9e7;
  color: #9a3324;
}

/* Spec table */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.spec-table th, .spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.spec-table th {
  width: 220px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Media wall (Pinterest-style: photos + quotes interspersed, natural aspect ratios) */

.media-wall {
  column-count: 1;
  column-gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 620px) {
  .media-wall { column-count: 2; }
}

@media (min-width: 920px) {
  .media-wall { column-count: 3; }
}

.wall-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.wall-item--photo {
  background: var(--cream-deep);
  line-height: 0;
}

.wall-item--photo img {
  width: 100%;
  height: auto;
  display: block;
}

.wall-item--quote {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 22px;
}

.wall-quote-text {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 400;
}

.wall-quote-author {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin: 0;
}

.media-wall--text-only .wall-quote-text {
  font-size: 15px;
}

/* Expandable "read more reviews" */

.quote-expand {
  max-width: 1100px;
  margin: 0 auto;
}

.quote-expand > summary {
  cursor: pointer;
  list-style: none;
  text-align: center;
  padding: 13px 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  margin: 36px auto 0;
}

.quote-expand > summary::-webkit-details-marker { display: none; }

.quote-expand > summary:hover {
  background: var(--ink);
  color: #fff;
}

.quote-expand .media-wall {
  margin-top: 28px;
}

/* Legal pages */

.legal-content h2 {
  font-size: 22px;
  margin-top: 36px;
}

.legal-content p, .legal-content li {
  color: var(--ink-soft);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

/* Analytics consent */

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 18px 60px rgba(33, 29, 26, 0.2);
}

.cookie-consent__copy {
  max-width: 650px;
}

.cookie-consent__copy h2 {
  margin: 3px 0 8px;
  font-size: 24px;
}

.cookie-consent__copy p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.cookie-consent__copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Footer */

.site-footer {
  background: #211d1a;
  color: #cfc7ba;
  padding: 60px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
}

.footer-tagline {
  font-size: 13px;
  margin-top: 10px;
  color: #a89e8f;
}

.site-footer h4 {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #cfc7ba;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--rose);
}

.footer-bottom {
  border-top: 1px solid #3a352f;
  padding-top: 20px;
  font-size: 12px;
  color: #83796a;
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .product-hero { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { border-radius: 0 0 60px 60px; }
  .cookie-consent { align-items: stretch; flex-direction: column; gap: 18px; }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__actions .btn { flex: 1; }
}

@media (max-width: 520px) {
  .cookie-consent { right: 10px; bottom: 10px; left: 10px; padding: 19px; }
  .cookie-consent__actions { flex-direction: column; }
}
