:root {
  --bg: #f7f2ea;          /* warm paper, close to the plywood in the photos */
  --bg-tint: #efe6d9;
  --ink: #1a1614;         /* logo black */
  --ink-soft: #5b514a;
  --line: #ddd1c1;
  --accent: #9a5426;      /* cognac leather */
  --accent-dark: #7a3f1a;
  --dark: #231d19;
  --light: #f6f0e7;
  --muted-light: #cfc3b5;
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  /* Cormorant has old-style figures by default: "1" reads like "I" */
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 26px; }
h4 { font-size: 24px; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--first { padding-top: clamp(40px, 6vw, 72px); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: var(--light); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head--sub { margin: 72px 0 28px; }
.section__head--sub h3 { font-size: 34px; }
.section__sub { color: var(--ink-soft); font-size: 17px; }
.lead { font-size: 19px; }

.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.eyebrow--light { color: #d9a57b; }

.photo-note {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .88); font-size: 13px; border: 1.5px dashed #c98a3c;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--light);
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--light); }
.btn--small { padding: 11px 20px; font-size: 14px; }
.btn--wide { width: 100%; }
.link { background: none; border: 0; padding: 0; font: 500 14px var(--sans); color: var(--accent); cursor: pointer; margin-top: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 234, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.header__logo img { height: 26px; width: auto; }
.header__nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.header__nav a { text-decoration: none; color: var(--ink-soft); transition: color .2s; white-space: nowrap; }
.header__nav a:hover { color: var(--ink); }
.header__burger { display: none; }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 105px); display: flex; align-items: center; padding: 40px 0; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; width: 100%; }
.season {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.season__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3f8f4e; box-shadow: 0 0 0 4px rgba(63, 143, 78, .15); }
.hero__motto { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent-dark); margin-bottom: 18px; }
.hero__lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; }
.hero__prices { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; max-width: 520px; }
.hero__prices a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.hero__prices a:hover { color: var(--accent); }
.hero__prices b { font-weight: 600; white-space: nowrap; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 14px; }
.hero__note { font-size: 13px; color: var(--ink-soft); }
.hero__media img { border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; outline: none; }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(60, 35, 15, .35); }
.card__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag, .card__count { position: absolute; top: 12px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.card__tag { left: 12px; background: var(--accent); color: #fff; }
.card__count { right: 12px; background: rgba(255, 255, 255, .85); }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 6px; font-size: 24px; }
.card__body p { color: var(--ink-soft); font-size: 14px; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-weight: 600; font-size: 18px; white-space: nowrap; }
.price--big { font-family: var(--serif); font-size: 34px; margin-bottom: 16px; color: var(--accent-dark); }
.card__more { font-size: 13px; color: var(--accent); white-space: nowrap; }

.custom-line {
  display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 14px 20px 14px 14px;
  background: #fff; border-radius: var(--radius);
}
.custom-line img { width: 72px; height: 58px; object-fit: cover; border-radius: 8px; }
.custom-line div { flex: 1; }
.custom-line b { display: block; }
.custom-line span { font-size: 14px; color: var(--ink-soft); }

.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bundle { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bundle img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.bundle__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; position: relative; }
.bundle__tag { position: absolute; top: -14px; left: 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.bundle h4 { margin-bottom: 4px; }
.bundle__items { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.bundle__note { font-size: 14px; color: var(--ink-soft); }
.bundle__price { margin: auto 0 16px; display: flex; align-items: baseline; gap: 12px; }
.bundle__price b { font-size: 22px; }
.bundle__price s { color: var(--ink-soft); font-size: 15px; }
.bundle .btn { align-self: flex-start; }

/* ---------- logo offer (corporate) ---------- */
.logo-offer { display: grid; grid-template-columns: .9fr 1fr; gap: 64px; align-items: center; }
.logo-offer__media img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.logo-offer .lead b { color: var(--accent-dark); }
.checks { list-style: none; padding: 0; margin: 24px 0; }
.checks li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.checks li::before { content: '✓'; position: absolute; left: 4px; top: 8px; color: var(--accent); font-weight: 700; }
.tags { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid #cdbfae; border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.cases-placeholder {
  grid-column: 1 / -1; border: 1.5px dashed #c98a3c; border-radius: var(--radius);
  padding: 36px; text-align: center; color: var(--ink-soft); font-size: 15px;
}

/* ---------- prices by run ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); }
.tiers { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.tiers th, .tiers td { padding: 16px 20px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tiers tbody tr:last-child > * { border-bottom: 0; }
.tiers thead th { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.tiers tbody th { text-align: left; font-weight: 600; }
.tiers tbody th a { text-decoration: none; }
.tiers tbody th a:hover { color: var(--accent); }
.tiers td:last-child { color: var(--accent-dark); font-weight: 600; }
.tiers__note { display: inline-block; margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); }
.b2b { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.b2b div { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.b2b b { display: block; margin-bottom: 6px; }
.b2b div > span { font-size: 15px; color: var(--ink-soft); }

/* ---------- process ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.steps li { counter-increment: s; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px dashed #d9a57b; color: #d9a57b; font-family: var(--serif); font-size: 21px; font-weight: 600;
}
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 56px; right: -16px; height: 1px; background: #4a3f37; }
.steps b { display: block; font-size: 17px; margin-bottom: 6px; }
.steps span { color: var(--muted-light); font-size: 15px; }

/* ---------- story ---------- */
.section--compact { padding: clamp(48px, 6vw, 72px) 0; }
.story { max-width: 820px; }
.story__lead { font-family: var(--serif); font-size: 26px; line-height: 1.35; }
.story > p:not(.story__lead):not(.eyebrow) { color: var(--ink-soft); margin: 0; }

/* ---------- leather ---------- */
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.swatch { margin: 0; }
.swatch img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.swatch figcaption { text-align: center; margin-top: 12px; font-size: 14px; font-weight: 500; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .7fr 1fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* ---------- contact + form ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__main .lead { color: var(--ink-soft); }
.messengers { display: grid; gap: 12px; margin: 28px 0; }
.messenger {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: var(--radius); text-decoration: none; color: #fff;
  font-size: 15px; transition: transform .2s, filter .2s;
}
.messenger b { font-size: 18px; }
.messenger:hover { transform: translateY(-2px); filter: brightness(1.05); }
.messenger--tg { background: #2a8bd1; }
.messenger--wa { background: #1fa855; }
.messenger--max { background: linear-gradient(120deg, #2f6bff, #8a3ffc); }
.contact__visit { font-size: 15px; color: var(--ink-soft); padding-left: 16px; border-left: 3px solid var(--line); }

.form { background: #fff; border-radius: 20px; padding: 32px; }
.form__title { font-size: 26px; margin-bottom: 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.tab { border: 0; background: transparent; padding: 12px; border-radius: 999px; font: 600 14px var(--sans); color: var(--ink-soft); cursor: pointer; }
.tab.is-active { background: var(--ink); color: var(--light); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 400 15px var(--sans); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.field small { font-size: 12px; color: var(--ink-soft); }
.file input { border-style: dashed; background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--ink-soft); margin: 22px 0 18px; align-items: center; }
.form[data-type="personal"] .corp-only { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
.footer-wrap { background: var(--dark); color: var(--light); padding: 64px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer__logo { width: 200px; margin-bottom: 16px; }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted-light); }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #3a312b; font-size: 15px; }
.footer__list li > span:first-child { color: #9d8f81; }
.footer__list a { text-decoration: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #3a312b; font-size: 13px; color: #9d8f81; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 15, 12, .7); }
.modal__dialog {
  position: relative; margin: 4vh auto; max-width: 1080px; max-height: 92vh; overflow: auto;
  background: var(--bg); border-radius: 20px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.modal__close { position: absolute; top: 12px; right: 16px; z-index: 2; border: 0; background: none; font-size: 34px; line-height: 1; cursor: pointer; color: var(--ink); }
.modal__gallery { padding: 20px; }
.modal__main { position: relative; }
.modal__main img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; max-height: 72vh; }
.modal__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.modal__arrow--prev { left: 12px; }
.modal__arrow--next { right: 12px; }
.modal__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.modal__thumbs img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; cursor: pointer; opacity: .55; flex: none; transition: opacity .15s; }
.modal__thumbs img.is-active, .modal__thumbs img:hover { opacity: 1; }
.modal__info { padding: 44px 36px 32px 16px; }
.modal__info h3 { font-size: 40px; margin-bottom: 8px; }
.modal__info > p { color: var(--ink-soft); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; font-weight: 500; }
.modal__tiers { font-size: 14px; color: var(--ink-soft); }
.modal__tiers b { color: var(--ink); }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- toast & sticky ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); max-width: calc(100% - 32px);
  background: var(--ink); color: var(--light); padding: 14px 22px; border-radius: 999px; text-align: center;
  font-size: 14px; z-index: 200; transition: transform .3s, opacity .3s; opacity: 0; visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.sticky-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header__nav { gap: 18px; font-size: 14px; }
  .header__nav a:nth-child(3) { display: none; }
}

@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero__inner, .logo-offer, .contact, .faq { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .bundles { grid-template-columns: 1fr; }
  .bundle { flex-direction: row; }
  .bundle img { width: 40%; aspect-ratio: auto; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px 64px; }
  .steps li:not(:last-child)::after { top: 52px; bottom: 6px; left: 22px; right: auto; width: 1px; height: auto; }
  .b2b { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .modal__dialog { grid-template-columns: minmax(0, 1fr); margin: 0; max-height: 100vh; height: 100%; border-radius: 0; }
  .modal__info { padding: 8px 20px 32px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .header__inner { height: 60px; gap: 16px; }
  .header__logo img { height: 20px; }
  .header__cta { display: none; }
  .header__burger { display: flex; flex-direction: column; gap: 6px; margin-left: auto; border: 0; background: none; padding: 10px; cursor: pointer; }
  .header__burger span { width: 22px; height: 2px; background: var(--ink); }
  .header__nav {
    position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .header__nav a, .header__nav a:nth-child(3) { display: block; padding: 16px 24px; border-top: 1px solid var(--line); color: var(--ink); }
  .nav-open .header__nav { display: flex; }

  .hero { padding: 16px 0 48px; }
  .hero__inner { gap: 20px; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .season { font-size: 13px; margin-bottom: 16px; }
  h1 { font-size: 38px; }
  .hero__lead { font-size: 16px; }
  .hero__prices { grid-template-columns: 1fr; margin-top: 16px; }
  .hero__prices a { padding: 8px 0; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }

  /* 2×2 grid so all four prices fit on one phone screen */
  .products { gap: 12px; }
  .card__body { padding: 12px 14px 14px; }
  .card__body h3 { font-size: 20px; }
  .card__body p, .card__more, .card__count { display: none; }
  .card__tag { top: 8px; left: 8px; font-size: 11px; padding: 4px 9px; }
  .price { font-size: 16px; }

  .custom-line { flex-wrap: wrap; }
  .bundle { flex-direction: column; }
  .bundle img { width: 100%; aspect-ratio: 16 / 9; }
  .form { padding: 22px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .tabs .tab { font-size: 13px; padding: 10px 6px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .footer-wrap { padding-bottom: 96px; }

  .sticky-cta {
    display: flex; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40;
    padding: 16px; border-radius: 999px; background: var(--ink); color: var(--light);
    font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(120px); transition: transform .3s;
  }
  .sticky-cta.is-visible { transform: none; }
}

/* ---------- configurator ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cfg__stage { position: sticky; top: 96px; }
.cfg__canvas { border-radius: 18px; overflow: hidden; background: #f3e9db; box-shadow: 0 24px 50px -30px rgba(60, 35, 15, .45); touch-action: none; }
.cfg__canvas svg { display: block; width: 100%; height: auto; }
.cfg__canvas .cfg-logo { cursor: grab; }
.cfg__canvas .cfg-area { opacity: 0; transition: opacity .2s; pointer-events: none; }
.cfg__canvas:hover .cfg-area { opacity: .5; }
.cfg__canvas.is-dragging .cfg-area { opacity: .9; }
.cfg__canvas.is-dragging .cfg-logo { cursor: grabbing; }
.cfg__hint { font-size: 13px; color: var(--ink-soft); margin: 12px 0 4px; }
.cfg__disclaimer { font-size: 12px; color: var(--ink-soft); opacity: .8; }

.cfg__panel { background: #fff; border-radius: 20px; padding: 26px; }
.cfg__group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.cfg__group[hidden] { display: none; }
.cfg__group--row { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: end; }
.cfg__label { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.cfg__label span { font-weight: 400; color: var(--ink-soft); }

.cfg__products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cfg__products button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  font: 500 15px var(--sans); color: var(--ink); transition: border-color .15s;
}
.cfg__products button span { font-size: 12px; color: var(--ink-soft); }
.cfg__products button:hover { border-color: #c9b9a5; }
.cfg__products button.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.cfg__colors { display: flex; flex-wrap: wrap; gap: 10px; }
.cfg__colors button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .15s;
}
.cfg__colors button:hover { transform: scale(1.08); }
.cfg__colors button.is-active { box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .25), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.cfg__colors--small button { width: 28px; height: 28px; }

.seg { display: inline-grid; grid-auto-flow: column; background: var(--bg); border-radius: 999px; padding: 3px; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 13px var(--sans); color: var(--ink-soft); cursor: pointer; }
.seg button.is-active { background: var(--ink); color: var(--light); }
.seg--small { margin-bottom: 0; }
.seg--small button { padding: 7px 14px; }

.drop {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
  padding: 18px; border: 1.5px dashed #c9b9a5; border-radius: 12px; background: var(--bg); transition: border-color .15s, background .15s;
}
.drop:hover, .drop.is-over { border-color: var(--accent); background: #f3e7d8; }
.drop input { display: none; }
.drop span { font-size: 12px; color: var(--ink-soft); }
.cfg__file { font-size: 13px; color: var(--ink-soft); margin: 10px 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 3px; }
.cfg__mode input[type=text] {
  width: 100%; font: 400 16px var(--sans); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px;
}
.cfg__size input { width: 100%; accent-color: var(--accent); }

.cfg__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.cfg__qty { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.cfg__qty input { width: 84px; font: 500 16px var(--sans); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.cfg__sum { text-align: right; }
.cfg__sum span { display: block; font-size: 13px; color: var(--ink-soft); }
.cfg__sum s { opacity: .7; }
.cfg__sum b { font-family: var(--serif); font-size: 30px; color: var(--accent-dark); }
.cfg__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

/* logo upload in the personal form appears only when it came from the configurator */
.form.has-logo[data-type="personal"] .file { display: flex; }

@media (max-width: 1000px) {
  .cfg { grid-template-columns: 1fr; gap: 24px; }
  .cfg__stage { position: static; }
}
@media (max-width: 760px) {
  .cfg__panel { padding: 20px 16px; }
  .cfg__group--row { grid-template-columns: 1fr; gap: 16px; }
  .cfg__actions { grid-template-columns: 1fr; }
  .cfg__total { flex-wrap: wrap; }
  /* keep the preview in view while tweaking options on a phone */
  .cfg__stage { position: sticky; top: 60px; z-index: 5; margin: 0 -24px; padding: 8px 24px; background: var(--bg-tint); }
  .cfg__hint, .cfg__disclaimer { display: none; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal__back { display: inline-block; margin-bottom: 32px; color: var(--accent); text-decoration: none; font-size: 15px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal p { color: var(--ink-soft); }
.legal__date { font-size: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { color: inherit; }
@media (max-width: 760px) {
  .hero__motto { font-size: 20px; margin-bottom: 12px; }
  .story__lead { font-size: 21px; }
}

/* ---------- direct contacts + cookie notice ---------- */
.contact__direct { font-size: 16px; margin: -8px 0 24px; line-height: 1.8; }
.contact__direct a { color: var(--accent-dark); text-decoration: none; font-weight: 600; }
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--dark); color: var(--light); font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: #d9a57b; }
.cookie .btn { flex: none; background: var(--light); color: var(--ink); border-color: var(--light); }
