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

html {
  max-width: 100%;
}

body.skin-corrimao {
  margin: 0;
  background: #f3efe8;
  color: #241c14;
  font-family: "Hind", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
}

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

h1,
h2,
h3,
.brand-name {
  font-family: "Bitter", serif;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

a {
  color: #5c4033;
}

p {
  margin: 0 0 0.8rem;
}

.brand-name {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.skip-link {
  position: absolute;
  left: 0.6rem;
  top: -3.2rem;
  background: #241c14;
  color: #f3efe8;
  padding: 0.45rem 0.7rem;
  z-index: 40;
}

.skip-link:focus {
  top: 0.5rem;
}

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

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.corrimao-sheet,
.corrimao-track,
.corrimao-stair,
.corrimao-baluster,
.corrimao-plaque,
.corrimao-footgrid > *,
.product-detail > *,
.cart-layout > *,
.checkout-layout > *,
.contact-layout > *,
.legal-wrap > * {
  min-width: 0;
}

.corrimao-sheet {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.corrimao-open {
  padding-top: 0.4rem;
  padding-bottom: 1.5rem;
}

.corrimao-kicker {
  margin: 0 0 0.35rem;
  font-family: "Bitter", serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c4033;
}

.corrimao-lead {
  max-width: 38rem;
}

.corrimao-railhead {
  position: relative;
  z-index: 5;
  padding: 1.1rem 0.8rem 4.2rem;
  min-width: 0;
}

.corrimao-rod {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem 0.75rem;
  min-height: 4.4rem;
  padding: 0.45rem 0.85rem 0.15rem;
  background: #5c4033;
  color: #f3efe8;
  border-radius: 999px;
  box-shadow: 0 7px 0 #b08d57;
  transform: rotate(-2.4deg);
  transform-origin: left center;
}

.corrimao-rod > * {
  transform: rotate(2.4deg);
}

.corrimao-brand {
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.35rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #f3efe8;
  border: 1px solid #b08d57;
  font-family: "Hind", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.corrimao-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.corrimao-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.corrimao-tag {
  position: relative;
  top: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.3rem 0.7rem;
  background: #e7dfd2;
  color: #241c14;
  border: 2px solid #b08d57;
  text-decoration: none;
  font-family: "Bitter", serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.corrimao-tag::before {
  content: "";
  position: absolute;
  top: -0.72rem;
  left: 50%;
  width: 6px;
  height: 0.72rem;
  background: #5c4033;
  transform: translateX(-50%);
}

.corrimao-tag[aria-current="page"] {
  background: #b08d57;
  color: #241c14;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  margin-bottom: 0.35rem;
  color: #f3efe8;
  text-decoration: none;
  font-weight: 600;
}

.cart-link strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #b08d57;
  color: #241c14;
  font-size: 0.82rem;
}

.corrimao-track {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.corrimao-stair {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 960px;
  padding: 1.15rem 0.3rem 1.4rem;
}

.corrimao-stair.is-hero {
  min-width: 0;
  width: 100%;
}

.corrimao-handrail {
  position: absolute;
  z-index: 3;
  left: 1%;
  top: 0.55rem;
  width: 97%;
  height: 13px;
  border-radius: 999px;
  background: #5c4033;
  box-shadow: 0 3px 0 #b08d57;
  transform: rotate(var(--inclinacao, 18deg));
  transform-origin: left center;
  pointer-events: none;
}

.corrimao-handrail::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #b08d57;
  border: 3px solid #5c4033;
}

.corrimao-baluster {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(var(--degrau, 0) * 3.15rem);
}

.corrimao-stair.is-hero .corrimao-baluster {
  margin-top: calc(var(--degrau, 0) * 2rem);
}

.corrimao-post {
  position: relative;
  z-index: 4;
  width: 12px;
  height: 58px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(#6d4e3c, #5c4033);
}

.corrimao-post::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 26px;
  height: 8px;
  border-radius: 2px;
  background: #b08d57;
  transform: translateX(-50%);
}

.corrimao-plaque {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0.45rem;
  background: #f7f3ec;
  border: 1px solid #b08d57;
  text-align: center;
}

.corrimao-plaque img {
  width: 100%;
  height: 9.2rem;
  object-fit: cover;
  object-position: center 18%;
}

.corrimao-cat {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c4033;
}

.corrimao-plaque h3 {
  margin: 0.15rem 0;
  font-size: 0.98rem;
}

.corrimao-plaque h3 a {
  color: #241c14;
  text-decoration: none;
}

.corrimao-price {
  margin: 0;
  font-weight: 600;
  color: #5c4033;
}

.corrimao-plaque .btn {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.45rem 0.3rem;
  font-size: 0.88rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.8rem;
}

.filters button {
  font-family: "Hind", sans-serif;
  font-size: 0.95rem;
  background: #e7dfd2;
  color: #241c14;
  border: 1px solid #5c4033;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.filters button.is-active {
  background: #5c4033;
  color: #f3efe8;
}

.corrimao-scrollhint {
  display: none;
  margin: 0 0 0.4rem;
  color: #5c4033;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: #5c4033;
  color: #f3efe8;
  border: 2px solid #b08d57;
  padding: 0.65rem 0.95rem;
  font-family: "Hind", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #241c14;
}

.field,
textarea.field,
select.field {
  width: 100%;
  max-width: 100%;
  padding: 0.62rem 0.7rem;
  border: 1px solid #5c4033;
  background: #fff;
  color: #241c14;
  font-family: "Hind", sans-serif;
  font-size: 1rem;
}

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

.checkbox-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.55rem 0;
  font-weight: 400;
}

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

.product-detail,
.cart-layout,
.checkout-layout,
.contact-layout,
.legal-wrap,
.corrimao-footgrid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.product-detail img {
  width: 100%;
  max-height: 38rem;
  object-fit: cover;
}

.corrimao-cart-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e7dfd2;
}

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

.qty button,
.remove-btn {
  font-family: "Hind", sans-serif;
  background: #e7dfd2;
  color: #241c14;
  border: 1px solid #5c4033;
  cursor: pointer;
  padding: 0.2rem 0.55rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.35rem 0;
}

.corrimao-panel {
  background: #e7dfd2;
  padding: 1rem;
  min-width: 0;
}

.pay-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e7dfd2;
}

.pay-option small {
  grid-column: 2;
  color: #241c14;
}

.ticket-form label,
.corrimao-form label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}

.ticket-form .checkbox-line,
.corrimao-form .checkbox-line,
.corrimao-footer .checkbox-line {
  display: flex;
  font-weight: 400;
}

.ticket-form .pay-option {
  display: grid;
  font-weight: 400;
}

.form-feedback {
  background: #e7dfd2;
  border-left: 4px solid #5c4033;
  padding: 0.75rem 0.85rem;
  margin-top: 0.8rem;
}

.legal-wrap {
  background: #f7f4ee;
  color: #241c14;
  padding: 1.1rem;
  border: 1px solid #e7dfd2;
}

.legal-nav {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-nav a {
  color: #241c14;
}

.legal-nav a[aria-current="page"] {
  font-weight: 700;
}

.legal-article {
  color: #241c14;
}

.legal-article h1 {
  color: #241c14;
}

.corrimao-footer {
  margin-top: 3rem;
  padding: 2rem 0 1.3rem;
  background: #241c14;
  color: #f3efe8;
}

.corrimao-footer a {
  color: #f3efe8;
}

.corrimao-footgrid a {
  display: block;
  margin: 0.25rem 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.corrimao-news {
  margin-bottom: 1.4rem;
  max-width: 40rem;
}

.corrimao-news form {
  display: grid;
  gap: 0.45rem;
}

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

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.8rem 1rem;
  background: #241c14;
  color: #f3efe8;
  border: 2px solid #b08d57;
}

.corrimao-aside p,
.corrimao-aside a {
  display: block;
  margin: 0.25rem 0;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .corrimao-nav {
    display: none;
    flex: 1 1 100%;
    order: 5;
  }

  .corrimao-nav.is-open {
    display: block;
  }

  .corrimao-nav ul {
    flex-direction: column;
    padding-bottom: 0.6rem;
  }

  .corrimao-tag {
    top: 0;
    justify-content: flex-start;
  }

  .corrimao-tag::before {
    display: none;
  }

  .corrimao-rod {
    transform: rotate(-1.2deg);
    align-items: center;
  }

  .corrimao-rod > * {
    transform: rotate(1.2deg);
  }

  .corrimao-railhead {
    padding-bottom: 2.2rem;
  }
}

@media (max-width: 1079px) {
  .corrimao-scrollhint {
    display: block;
  }
}

@media (min-width: 860px) {
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .legal-wrap {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    align-items: start;
  }

  .corrimao-footgrid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 1080px) {
  .corrimao-stair {
    min-width: 0;
    width: 100%;
  }
}
