/* iribarnestudio.com: same brand as the mando central (iribarne/core/static/base.css),
   sized for customers on a phone rather than for Willy at the studio. */
@font-face {
  font-family: "Lexend";
  src: url(fonts/lexend.woff2) format("woff2");
  font-weight: 400 700;
}
@font-face {
  font-family: "Cinzel";
  src: url(fonts/cinzel-600.woff) format("woff");
  font-weight: 600;
}

:root {
  --ink: #14100c;
  --gold: #bd8440;
  --gold-light: #f9da92;
  --gold-text: #7a5124;
  --ivory: #faf6ee;
  --card: #ffffff;
  --line: #e4d9c6;
  --muted: #5f564b;
  --wa: #1f8f4e;
  --canvas-bg: #9b9b9b; /* colocar.css: neutral grey around the design */
  --ok: #2e7d32;
  --warn: #a86400;
  --bad: #b3261e;
  --font: "Lexend", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cinzel", Georgia, serif;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 18px/1.55 var(--font);
}
img {
  max-width: 100%;
}
a {
  color: var(--gold-text);
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 {
  font-size: clamp(30px, 5vw, 48px);
  margin: 0 0 16px;
}
h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 0 0 20px;
}
h2.small {
  font-family: var(--font);
  font-size: 18px;
  letter-spacing: 0;
  margin: 24px 0 8px;
}
h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
.section {
  padding: 48px 16px;
}

/* placeholders: anything still to be filled in web/site.yaml or with real photos */
mark.pend {
  background: #ffe36e;
  color: #3a2c00;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* header */
.top {
  background: var(--ink);
  color: #f3ede2;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3ede2;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 20px;
}
.brand img {
  border-radius: 50%;
}
.brand b,
.foot-name b {
  color: var(--gold);
  font-weight: 600;
}
.top nav {
  display: flex;
  gap: 20px;
}
.top nav a {
  color: #f3ede2;
  text-decoration: none;
  font-size: 16px;
}
.top nav a:hover {
  color: var(--gold-light);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--card);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
button.btn {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button.btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.btn-small {
  min-height: 44px;
  font-size: 16px;
}
.btn.is-pending {
  opacity: 0.5;
  cursor: not-allowed;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--wa);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.25);
}

/* home: ivory, with the gold emblem faded in behind the headline */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3ead8 0%, var(--ivory) 100%);
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-mark {
  position: absolute;
  width: min(760px, 120vw);
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.22;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0;
}
.hero-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #2a231c;
  box-shadow: 0 12px 32px rgb(20 16 12 / 0.25);
  display: grid;
  place-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s;
}
.card:hover {
  transform: translateY(-3px);
}
.card-img {
  aspect-ratio: 5 / 4;
  background: #f1eadc;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card-body {
  padding: 14px 16px 16px;
}
.price {
  margin: 0;
  color: var(--gold-text);
  font-weight: 600;
}
.price.big {
  font-size: 24px;
}
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0 0 24px;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 4px;
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
}
.steps span {
  color: var(--muted);
}

/* photos */
.hero-photo {
  overflow: hidden;
}
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 1;
}
.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgb(20 16 12 / 0.22);
}
.hero-photo img,
.card-img.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-img.is-photo {
  padding: 0;
  display: block;
  overflow: hidden;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.photo-grid figure,
.howto {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.photo-grid figcaption,
.howto figcaption {
  padding: 10px 14px;
  font-size: 16px;
}
.howto {
  margin: 0 0 24px;
  max-width: 420px;
}
.howto img {
  width: 100%;
  display: block;
}
.product-photos .main {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: none;
  cursor: pointer;
}
.thumbs button[aria-current="true"] {
  border-color: var(--gold);
}
.thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.lead-dark {
  color: var(--muted);
  font-size: 20px;
  margin: 0 0 24px;
}
.foot .mail {
  color: var(--gold-light);
}

/* product */
.crumbs {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 16px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.product-img {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  place-items: center;
  gap: 12px;
}
.blurb {
  color: var(--muted);
  margin: -4px 0 12px;
}
h3.part {
  margin: 18px 0 0;
  font-size: 17px;
  color: var(--gold-text);
}
.path .btn + .btn {
  margin-top: 4px;
}
.sizes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sizes li {
  display: grid;
  grid-template-columns: 1fr auto 80px;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.sizes li span:last-child {
  text-align: right;
  font-weight: 600;
}
.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.path {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.path p {
  color: var(--muted);
  margin: 0 0 12px;
  flex: 1;
}

/* customiser (personalizar.js; the editor itself is colocar.css) */
.muted {
  color: var(--muted);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.pick {
  cursor: pointer;
  margin-top: 8px;
}
.customiser .place {
  margin-top: 16px;
}
.customiser .actions {
  margin-top: 24px;
}
.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 88px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
}

/* text pages */
.prose {
  max-width: 760px;
}
.facts {
  padding-left: 20px;
}
.prose li {
  margin: 6px 0;
}
.prose h2 {
  margin-top: 36px;
}

/* footer */
.foot {
  background: var(--ink);
  color: #d8cfbf;
  padding: 40px 0 88px;
  font-size: 16px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.foot-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: #f3ede2;
  margin: 0 0 4px;
}
.foot b {
  color: #f3ede2;
}
.social {
  display: flex;
  gap: 16px;
  margin: 16px 0 0;
}
.social a {
  color: var(--gold-light);
  font-weight: 600;
}
.legal-links a {
  color: #d8cfbf;
}

@media (max-width: 760px) {
  .hero {
    padding: 28px 0 40px;
  }
  .hero-mark {
    left: 50%;
    top: 0;
    transform: translate(-50%, -18%);
    opacity: 0.18;
  }
  .hero-mosaic {
    gap: 8px;
  }
  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .top nav {
    gap: 14px;
  }
  .brand span {
    display: none;
  }
}
