/* ──────────────────────────────────────────────
   Mants — Base: tokens, reset, utilities, buttons
   ────────────────────────────────────────────── */

:root {
  --bg:       #f7f5f1;
  --bg-2:     #EAE4D5;
  --ink:      #161513;
  --ink-soft: #4A4742;
  --rule:     rgba(22,21,19,0.14);

  --page-pad-x: 80px; /* бічний падінг контенту (hero, хедер); ≤991px → 24px */

  --brand:    #9d5248; /* основний: кнопки, топ-бар, футер */
  --on-brand: #F6F3EC; /* текст на --brand: ледь бежевий, майже білий */

  --ff-serif: 'Times-Now-Semi-Light', Georgia, serif; /* заголовки, ціни */
  --ff-sans:  'Optima', Helvetica, sans-serif;         /* основний текст, кнопки */
}

/* ── Reset & Base ───────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;   /* smooth in-page jumps for nav anchors */
  scroll-padding-top: 24px;  /* breathing room above the targeted section */
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SVG noise overlay ──────────────────────── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Utility Classes ────────────────────────── */

.mants-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Full-width content with the banner/header side gutter (used by checkout). */
.site-main {
  padding: 20px var(--page-pad-x);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--ink-soft);
  font-family: var(--ff-sans);
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Buttons (shared) ───────────────────────── */

.btn-primary {
  position: relative;
  display: inline-block;
  background: var(--brand);
  color: var(--on-brand);
  padding: 20px 60px;
  letter-spacing: 0.08em;
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
  text-align: center;
  text-decoration: none;
}

/* Two thin rules along the top and bottom edges (full width). */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 6px 0;
  border-top: 1px solid #f7f5f1;
  border-bottom: 1px solid #f7f5f1;
  pointer-events: none;
}

.btn-primary:hover {
  opacity: 0.9 !important;
}

.btn-primary[disabled],
.btn-primary.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 14px 28px;
  letter-spacing: 0.08em;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-align: center;
  text-decoration: none;
  align-self: flex-start;
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--on-brand);
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 991px) { /* lg and down */
  :root {
    --page-pad-x: 24px;
  }

  .mants-container {
    padding: 0 24px;
  }
}

@media (max-width: 575px) { /* sm and down */
  :root {
    --page-pad-x: 16px;
  }

  .mants-container {
    padding: 0 18px;
  }
}
