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

html {
  overflow-x: clip;
}

body.skin-persiana {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: #243044;
  background: #e7eef5;
  font-family: "Mulish", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

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

a {
  color: #243044;
}

h1, h2, h3, .brand-name, .persiana-kicker, .persiana-price, .btn {
  font-family: "Josefin Sans", sans-serif;
}

h1, h2, h3, p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.brand-name {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #243044;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 0.6rem;
  top: -3rem;
  z-index: 30;
  padding: 0.4rem 0.7rem;
  background: #243044;
  color: #f7f4ee;
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid #8c5a3c;
  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;
}

.persiana-rail {
  background: linear-gradient(180deg, #fbf8f2 0%, #e4dcd0 42%, #cfc6b8 100%);
  box-shadow: inset 0 -3px 0 rgba(36, 48, 68, 0.12), 0 8px 0 #d5dee8;
  min-width: 0;
}

.persiana-rail-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  width: min(1120px, calc(100% - 1.2rem));
  margin: 0 auto;
  padding: 0.55rem 0.2rem 0.62rem;
  min-width: 0;
}

.persiana-cord {
  flex: 0 0 3px;
  align-self: stretch;
  width: 3px;
  min-height: 2.2rem;
  background: #8c5a3c;
  position: relative;
}

.persiana-cord::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 2px;
  width: 13px;
  height: 11px;
  background: #8c5a3c;
  border-radius: 0 0 7px 7px;
}

.persiana-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  border: 0;
  background: #f7f4ee;
  color: #243044;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.95rem;
  padding: 0.35rem 0.7rem;
  box-shadow: 0 3px 0 #cfc6b8;
  cursor: pointer;
}

.persiana-nav {
  display: none;
  flex: 1 1 100%;
  min-width: 0;
  order: 5;
}

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

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

.persiana-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.15rem 0.7rem;
  text-decoration: none;
  color: #243044;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 62%, #d9d0c3 100%);
  box-shadow: 0 3px 0 #c5bbae;
}

.persiana-nav a[aria-current="page"] {
  background: #243044;
  color: #f7f4ee;
  box-shadow: 0 3px 0 #8c5a3c;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.2rem 0.15rem;
  text-decoration: none;
  color: #243044;
  font-family: "Josefin Sans", sans-serif;
  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.3rem;
  border-radius: 999px;
  background: #243044;
  color: #f7f4ee;
  font-size: 0.78rem;
  line-height: 1;
}

.cart-link[aria-current="page"] strong {
  background: #8c5a3c;
}

main#conteudo {
  width: min(1360px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1.35rem 0 2.8rem;
  min-width: 0;
}

[data-render="catalog"],
[data-render="hero"] {
  width: calc(100vw - 1.5rem);
  max-width: calc(100vw - 1.5rem);
  margin-left: calc(50% - 50vw + 0.75rem);
}

.persiana-kicker {
  margin: 0 0 0.35rem;
  color: #8c5a3c;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.persiana-lead {
  max-width: 40rem;
  margin: 0 0 1rem;
}

.persiana-hero-stack,
.persiana-stack,
.persiana-slat,
.persiana-band,
.persiana-slat-copy,
.persiana-slat-end,
.filters,
.product-detail,
.cart-layout,
.checkout-layout,
.contact-layout,
.legal-wrap,
.legal-article,
.ticket-form {
  min-width: 0;
}

.persiana-hero-stack,
.persiana-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.persiana-hero-stack {
  gap: 1.05rem;
  margin-top: 0.4rem;
}

.persiana-stack {
  gap: 0.42rem;
}

.persiana-slat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 34%);
  align-items: center;
  column-gap: 0.85rem;
  width: 100%;
  min-height: 132px;
  height: auto;
  padding: 0.45rem 0.85rem 0.45rem 1rem;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 46%, #ddd4c7 100%);
  box-shadow: 0 6px 0 #cfc6b8;
  border-top: 1px solid #ffffff;
}

.persiana-slat::before {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 2px;
  background: #8c5a3c;
  pointer-events: none;
}

.persiana-band {
  display: block;
  height: 108px;
  width: 100%;
  overflow: hidden;
  background: #cfc6b8;
  min-width: 0;
}

.persiana-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.persiana-slat-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  gap: 0.08rem;
  min-width: 0;
}

.persiana-cat {
  margin: 0;
  color: #8c5a3c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.persiana-slat h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 600;
  max-width: 16rem;
}

.persiana-slat h3 a {
  text-decoration: none;
}

.persiana-slat h3 a:hover {
  text-decoration: underline;
}

.persiana-price {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.persiana-slat-ajar {
  min-height: 168px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 18%, #e6ddd2 72%, #cfc6b8 100%);
  box-shadow: 0 16px 0 -8px #cfc6b8, 0 7px 0 #cfc6b8;
}

.persiana-slat-ajar .persiana-band {
  height: 124px;
}

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

.filters button,
.btn,
.persiana-qty button,
.persiana-remove {
  font-family: "Josefin Sans", sans-serif;
  cursor: pointer;
}

.filters button {
  border: 0;
  color: #243044;
  background: linear-gradient(180deg, #ffffff, #f7f4ee 70%, #d9d0c3);
  box-shadow: 0 3px 0 #cfc6b8;
  padding: 0.35rem 0.7rem;
}

.filters button.is-active {
  background: #243044;
  color: #f7f4ee;
  box-shadow: 0 3px 0 #8c5a3c;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #243044;
  color: #f7f4ee;
  text-decoration: none;
  padding: 0.62rem 0.95rem;
  font-size: 0.98rem;
}

.persiana-choose {
  padding: 0.28rem 0.5rem;
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
}

.btn:hover,
.filters button:hover,
.persiana-qty button:hover,
.persiana-remove:hover {
  filter: brightness(1.06);
}

.product-detail,
.cart-layout,
.checkout-layout,
.contact-layout,
.legal-wrap {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

.persiana-stage {
  background: #f7f4ee;
  box-shadow: 0 10px 0 #cfc6b8;
  min-width: 0;
}

.persiana-stage img {
  width: 100%;
  height: min(68vw, 460px);
  object-fit: cover;
  object-position: center 20%;
}

.field {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfc6b8;
  background: #ffffff;
  color: #243044;
  font: inherit;
  padding: 0.55rem 0.65rem;
}

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

.ticket-form,
.persiana-product-form,
.contact-layout form {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.ticket-form > label,
.persiana-product-form > label,
.contact-layout form > label:not(.checkbox-line) {
  font-weight: 700;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.persiana-hint {
  margin: -0.25rem 0 0.2rem;
  font-size: 0.92rem;
}

.pay-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.55rem;
  align-items: start;
  padding: 0.65rem 0.7rem;
  background: linear-gradient(180deg, #ffffff, #f7f4ee 60%, #e5ddd2);
  box-shadow: 0 4px 0 #cfc6b8;
  font-weight: 400;
}

.pay-option input {
  margin-top: 0.25rem;
}

.pay-option span {
  font-weight: 700;
}

.pay-option small {
  grid-column: 2;
  font-size: 0.92rem;
}

.checkbox-line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400;
  min-width: 0;
}

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

.checkbox-line.full {
  width: 100%;
}

.form-feedback {
  margin: 0.3rem 0 0;
  padding: 0.65rem 0.7rem;
  background: #f7f4ee;
  box-shadow: 0 4px 0 #cfc6b8;
  font-weight: 700;
}

.persiana-summary,
.persiana-aside {
  background: #f7f4ee;
  padding: 0.95rem 1rem 1.1rem;
  box-shadow: 0 8px 0 #cfc6b8;
  min-width: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.28rem 0;
  min-width: 0;
}

.summary-row span,
.summary-row strong {
  min-width: 0;
}

.persiana-cart-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.persiana-cart-item {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 88px;
  padding: 0.45rem 0.7rem;
  background: linear-gradient(180deg, #ffffff, #f7f4ee 50%, #ddd4c7);
  box-shadow: 0 6px 0 #cfc6b8;
  min-width: 0;
}

.persiana-cart-item img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.persiana-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.6rem;
}

.persiana-qty button,
.persiana-remove {
  border: 0;
  background: #243044;
  color: #f7f4ee;
  min-width: 1.8rem;
  min-height: 1.8rem;
  padding: 0.15rem 0.45rem;
}

.persiana-remove {
  background: transparent;
  color: #243044;
  text-decoration: underline;
  min-width: 0;
}

.legal-wrap {
  background: #f7f4ee;
  color: #243044;
  padding: 1rem;
  box-shadow: 0 8px 0 #cfc6b8;
}

.legal-nav {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.legal-nav a {
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid #cfc6b8;
}

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

.legal-article h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.legal-article p,
.legal-article li {
  max-width: 68ch;
}

.persiana-footer {
  background: #f7f4ee;
  color: #243044;
  box-shadow: inset 0 8px 0 #cfc6b8;
  min-width: 0;
}

.persiana-footer-inner {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.6rem 0 1.1rem;
  min-width: 0;
}

.persiana-footgrid {
  display: grid;
  gap: 1.3rem;
  min-width: 0;
}

.persiana-news form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.persiana-news .field {
  flex: 1 1 12rem;
}

.persiana-footgrid a {
  display: inline-block;
  margin: 0.15rem 0;
  color: #243044;
}

.persiana-copy {
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 40;
  width: min(92vw, 28rem);
  padding: 0.75rem 0.9rem;
  background: #243044;
  color: #f7f4ee;
  box-shadow: 0 6px 0 #8c5a3c;
}

.persiana-pair {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (min-width: 760px) {
  .persiana-slat:not(.persiana-slat-ajar) {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
    height: auto;
    min-height: 148px;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .persiana-slat:not(.persiana-slat-ajar) .persiana-band {
    height: 124px;
  }

  .persiana-slat-ajar {
    grid-template-columns: minmax(0, 1.45fr) minmax(12rem, 18rem);
    min-height: 176px;
  }

  .persiana-slat-ajar .persiana-band {
    height: 140px;
  }

  .menu-toggle {
    display: none;
  }

  .persiana-nav {
    display: block;
    flex: 1 1 auto;
    order: 0;
  }

  .persiana-nav ul {
    margin: 0;
  }

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

  .product-detail,
  .cart-layout,
  .checkout-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  }

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

  .persiana-footgrid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  }

  .persiana-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .persiana-cart-item {
    grid-template-columns: 7rem minmax(0, 1fr);
  }
}
