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

html { overflow-x: clip; }

body.skin-pedra {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, #f6f1e8, transparent 62%),
    #d9cbb8;
  color: #2a2622;
  font-family: "Figtree", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
  overflow-wrap: break-word;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: "Literata", serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

p { margin: 0 0 0.75rem; }

a { color: #2a2622; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid #4f6b45;
  outline-offset: 3px;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-220%);
  background: #f6f1e8;
  color: #2a2622;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  z-index: 30;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { transform: none; }

.brand-name {
  font-family: "Literata", serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #2a2622;
  text-decoration: none;
}

.pedra-capstone {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  width: min(1100px, calc(100% - 1.25rem));
  margin: 0.7rem auto 0.4rem;
  padding: 0.7rem 0.85rem;
  min-width: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #efe4d4, #d9cbb8 48%, #cbbba4);
  border-radius: 999px;
  box-shadow: 0 8px 0 rgba(42, 38, 34, 0.08);
}

.pedra-brandchip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 11.5rem;
  min-width: 0;
  padding: 0.55rem 0.95rem;
  background: #f6f1e8;
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  flex: 0 1 auto;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 0;
  background: #f6f1e8;
  color: #2a2622;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav,
.pedra-ticks {
  display: none;
  flex: 1 1 100%;
  min-width: 0;
}

.site-nav.is-open,
.pedra-ticks.is-open { display: block; }

.pedra-ticks ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.2rem 0.15rem;
  min-width: 0;
}

.pedra-ticks a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #2a2622;
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
}

.pedra-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 0.95rem;
  flex: 0 0 auto;
}

.pedra-mark span {
  display: block;
  width: 2px;
  background: #2a2622;
  border-radius: 1px;
}

.pedra-mark span:nth-child(1) { height: 55%; }
.pedra-mark span:nth-child(2) { height: 100%; background: #4f6b45; }
.pedra-mark span:nth-child(3) { height: 72%; }

.pedra-ticks a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2rem; }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  color: #2a2622;
  text-decoration: none;
  font-weight: 700;
  flex: 0 0 auto;
}

.cart-link strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.35rem;
  border-radius: 50%;
  background: #4f6b45;
  color: #f6f1e8;
  font-size: 0.82rem;
}

#conteudo {
  width: min(1120px, calc(100% - 1.25rem));
  margin: 0.6rem auto 2.5rem;
  min-width: 0;
}

.pedra-lead,
.pedra-pagehead {
  text-align: center;
  max-width: 40rem;
  margin: 0.2rem auto 0.8rem;
  min-width: 0;
}

.pedra-index {
  font-family: "Literata", serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #2a2622;
  margin: 0 0 0.3rem;
}

.pedra-note { text-align: center; }

.pedra-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: min(720px, 100%);
  margin: 0 auto 1rem;
  min-width: 0;
}

.pedra-hero .pedra-stone { width: min(78%, 320px); }
.pedra-hero .pedra-stone-mid { width: min(90%, 390px); }

.pedra-cairn,
.product-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(720px, 100%);
  margin: 0 auto;
  gap: 1rem;
  min-width: 0;
}

.pedra-cairn > .pedra-stone { width: min(64%, 420px); }

.pedra-cairn > .pedra-stone:nth-child(odd) { transform: translateX(-14%); }
.pedra-cairn > .pedra-stone:nth-child(even) { transform: translateX(14%); }

.pedra-stone {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.pedra-oval {
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #cbbba4;
  border: 3px solid #f6f1e8;
  box-shadow:
    inset 0 -14px 0 rgba(42, 38, 34, 0.14),
    0 8px 0 rgba(42, 38, 34, 0.06);
  min-width: 0;
}

.pedra-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  max-width: none;
}

.pedra-plaque {
  width: 88%;
  margin-top: 0.45rem;
  background: #f6f1e8;
  border-radius: 50%;
  padding: 0.95rem 0.75rem 1.1rem;
  text-align: center;
  box-shadow: 0 6px 0 rgba(42, 38, 34, 0.06);
  min-width: 0;
}

.pedra-cat {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pedra-plaque h3 { font-size: 1.05rem; margin: 0.15rem 0; }
.pedra-plaque h3 a { text-decoration: none; }

.pedra-price {
  font-family: "Literata", serif;
  font-weight: 700;
  margin: 0.1rem 0 0.35rem;
}

.filters,
.pedra-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: min(720px, 100%);
  margin: 0 auto 0.9rem;
  min-width: 0;
}

.filters button {
  border: 1px solid #2a2622;
  background: #f6f1e8;
  color: #2a2622;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.filters button.is-active {
  background: #4f6b45;
  border-color: #4f6b45;
  color: #f6f1e8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #4f6b45;
  color: #f6f1e8;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #3d5536; }

.pedra-plaque .btn { width: 100%; margin-top: 0.25rem; }

.product-detail,
.pedra-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: start;
  min-width: 0;
}

.pedra-stage { min-width: 0; }
.pedra-stage .pedra-oval { max-width: 520px; margin: 0 auto; }

.field {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0.25rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #2a2622;
  border-radius: 0.9rem;
  background: #f6f1e8;
  color: #2a2622;
}

textarea.field { min-height: 8rem; resize: vertical; }

.pedra-hint { font-size: 0.92rem; margin-top: -0.4rem; }

.checkbox-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.45rem 0;
  min-width: 0;
}

.checkbox-line span { min-width: 0; }

.checkbox-line input { margin-top: 0.25rem; flex: 0 0 auto; }

.pay-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.6rem;
  align-items: start;
  background: #f6f1e8;
  border-radius: 1.2rem;
  padding: 0.75rem 0.85rem;
  margin: 0 0 0.55rem;
  min-width: 0;
}

.pay-option small { grid-column: 2; }

.ticket-form,
.pedra-form {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  position: relative;
}

.cart-layout,
.checkout-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  min-width: 0;
}

.pedra-aside,
.pedra-summary {
  background: #f6f1e8;
  border-radius: 1.6rem;
  padding: 1rem;
  min-width: 0;
}

.pedra-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  margin: 0.3rem 0;
}

.pedra-row span { min-width: 0; }

.pedra-cart-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  background: #f6f1e8;
  border-radius: 1.8rem;
  padding: 0.7rem;
  margin-bottom: 0.7rem;
  min-width: 0;
}

.pedra-oval-sm {
  width: 7.2rem;
  flex: 0 0 auto;
}

.pedra-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pedra-qty button,
.remove-btn {
  border: 1px solid #2a2622;
  background: #f6f1e8;
  color: #2a2622;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  font-weight: 700;
}

.legal-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: #f6f1e8;
  color: #2a2622;
  border-radius: 1.5rem;
  padding: 1rem;
  min-width: 0;
}

.legal-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  min-width: 0;
}

.legal-nav a {
  color: #2a2622;
  font-weight: 700;
}

.legal-article { min-width: 0; }
.legal-article h1 { margin-top: 0.2rem; }

.pedra-footer {
  background: #f6f1e8;
  color: #2a2622;
  border-radius: 48% 48% 0 0 / 28px 28px 0 0;
  margin-top: 1.5rem;
  min-width: 0;
}

.pedra-foot {
  width: min(1100px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1.6rem 0 1.2rem;
  min-width: 0;
}

.pedra-news { min-width: 0; max-width: 40rem; }
.pedra-news form { position: relative; display: grid; gap: 0.45rem; min-width: 0; }

.pedra-footgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  margin-top: 1.3rem;
  min-width: 0;
}

.pedra-footgrid > div { flex: 1 1 14rem; min-width: 0; }

.pedra-footgrid a {
  display: inline-block;
  margin: 0.18rem 0.75rem 0.18rem 0;
  color: #2a2622;
  font-weight: 600;
}

.footer-copy { margin: 1.1rem 0 0; font-size: 0.95rem; }

.form-feedback {
  background: #f6f1e8;
  border-left: 4px solid #4f6b45;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  margin: 0.6rem 0 0;
}

.toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin-inline: auto;
  width: max-content;
  max-width: calc(100% - 2rem);
  background: #2a2622;
  color: #f6f1e8;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 40;
  text-align: center;
}

@media (min-width: 800px) {
  .product-detail,
  .pedra-detail,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .legal-wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .legal-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }

  .site-nav,
  .pedra-ticks {
    display: block;
    flex: 1 1 auto;
  }

  .pedra-ticks ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    padding: 0;
  }

  .cart-link { margin-left: 0; }

  .pedra-hero {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .pedra-hero .pedra-stone { width: 30%; }
  .pedra-hero .pedra-stone-mid { width: 40%; margin-inline: -0.7rem; z-index: 1; }
}
