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

body.skin-pente {
  margin: 0;
  background: #fbf6ef;
  color: #2b211c;
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: #6b3a2a; }
h1, h2, h3, .brand-name, .pente-tip {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.1;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.4rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.6rem; }
p { margin: 0 0 0.8rem; }
button, input, select, textarea { font-family: "Work Sans", sans-serif; color: #2b211c; }

.skip-link {
  position: absolute;
  left: 0.6rem;
  top: -3rem;
  background: #fbf6ef;
  color: #2b211c;
  padding: 0.4rem 0.7rem;
  z-index: 5;
}
.skip-link:focus { top: 0.6rem; }

:focus-visible { outline: 2px solid #6b3a2a; outline-offset: 2px; }

.pente-header { min-width: 0; }
.pente-spine-bar {
  background: #6b3a2a;
  color: #f3e6d4;
  border-radius: 0 0 46px 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.85rem 1rem 1.05rem;
  min-width: 0;
}
.pente-brand { text-decoration: none; min-width: 0; }
.brand-name {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.14em;
  color: #f3e6d4;
  text-shadow: 0 1px 0 rgba(255, 236, 214, 0.28), 0 -1px 0 rgba(0, 0, 0, 0.45);
}
.pente-spine-tools { display: inline-flex; align-items: center; gap: 0.55rem; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  background: #f3e6d4;
  color: #6b3a2a;
  border: 0;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f3e6d4;
  text-decoration: none;
  font-size: 0.95rem;
}
.cart-link strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #f3e6d4;
  color: #6b3a2a;
  font-family: "Work Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}
.site-nav { display: none; margin-top: -6px; min-width: 0; }
.site-nav.is-open { display: block; }
.pente-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0 1rem 0.4rem;
  min-width: 0;
}
.pente-tags a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #2b211c;
}
.pente-pin {
  width: 8px;
  height: 14px;
  background: #b08968;
  display: block;
}
.pente-tag-card {
  display: block;
  background: #f3e6d4;
  color: #2b211c;
  border: 1px solid #6b3a2a;
  padding: 0.42rem 0.8rem 0.55rem;
  line-height: 1.2;
  white-space: nowrap;
}
.pente-tags a[aria-current="page"] .pente-tag-card {
  background: #2b211c;
  color: #fbf6ef;
}
.cart-link[aria-current="page"] { text-decoration: underline; }

main#conteudo {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0.8rem auto 2rem;
  min-width: 0;
}
main#conteudo:focus { outline: none; }

.pente-kicker {
  margin: 0 0 0.35rem;
  font-family: "Work Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b3a2a;
}
.pente-lead { max-width: 38rem; }

.pente-comb { min-width: 0; max-width: 100%; margin: 0.6rem 0 1rem; }
.pente-comb-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  scroll-snap-type: x proximity;
}
.pente-comb-fit { width: max-content; margin-inline: auto; min-width: 0; }
.pente-spine-arc {
  background: #6b3a2a;
  color: #f3e6d4;
  border-radius: 50% 50% 12px 12px / 100% 100% 12px 12px;
  min-height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.1rem 1.5rem 0.55rem;
}
.pente-spine-arc .pente-kicker { color: #f3e6d4; margin: 0; letter-spacing: 0.22em; }
.pente-teeth {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  min-width: 0;
}
.pente-tooth {
  flex: 0 0 100px;
  width: 100px;
  min-width: 92px;
  scroll-snap-align: start;
}
.pente-neck {
  display: block;
  height: 12px;
  width: 46%;
  margin: 0 auto;
  background: #6b3a2a;
}
.pente-face {
  display: block;
  height: 320px;
  background: #f3e6d4;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}
.pente-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.pente-cat {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b3a2a;
}
.pente-tip { margin: 0.1rem 0 0; text-align: center; font-size: 1.15rem; }
.pente-tip a { color: #2b211c; text-decoration: none; }
.pente-price { margin: 0.15rem 0 0.4rem; text-align: center; font-size: 0.86rem; }
.pente-tooth .btn {
  width: 100%;
  font-size: 0.75rem;
  padding: 0.45rem 0.25rem;
  white-space: normal;
  line-height: 1.2;
}
.pente-comb-hero .pente-tooth { flex-basis: 104px; width: 104px; }
.pente-comb:not(.pente-comb-hero) .pente-face { height: 360px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.8rem;
  min-width: 0;
}
.filters button {
  background: #f3e6d4;
  color: #2b211c;
  border: 1px solid #6b3a2a;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}
.filters button.is-active {
  background: #6b3a2a;
  color: #fbf6ef;
}

.btn {
  display: inline-block;
  background: #6b3a2a;
  color: #fbf6ef;
  border: 0;
  text-decoration: none;
  text-align: center;
  padding: 0.7rem 1rem;
  cursor: pointer;
}
.field {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #6b3a2a;
  padding: 0.65rem 0.7rem;
  margin: 0 0 0.75rem;
}
textarea.field { min-height: 8rem; resize: vertical; }
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.checkbox-line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.55rem 0;
}
.checkbox-line input { margin-top: 0.25rem; }
.form-feedback { font-weight: 600; }

.product-detail,
.cart-layout,
.checkout-layout,
.contact-layout,
.legal-wrap,
.pente-footgrid {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}
.product-detail > *,
.cart-layout > *,
.checkout-layout > *,
.contact-layout > *,
.legal-wrap > *,
.pente-footgrid > * { min-width: 0; }

.pente-tooth-solo { width: min(100%, 260px); flex-basis: auto; }
.pente-tooth-solo .pente-face { height: 420px; }

.pente-cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e4d3c0;
}
.pente-cart-item img { width: 72px; height: 104px; object-fit: cover; border-radius: 0 0 10px 10px; }
.pente-qty { display: inline-flex; align-items: center; gap: 0.45rem; }
.pente-qty button, .remove-btn {
  background: #f3e6d4;
  border: 1px solid #6b3a2a;
  color: #2b211c;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
}
.remove-btn { margin-top: 0.45rem; }
.pente-summary {
  background: #f3e6d4;
  padding: 1rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.35rem 0;
}

fieldset { border: 0; margin: 0.2rem 0 0.6rem; padding: 0; min-width: 0; }
legend { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; padding: 0; }
.pay-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.55rem;
  row-gap: 0.15rem;
  border: 1px solid #6b3a2a;
  background: #fff;
  padding: 0.7rem;
  margin: 0 0 0.5rem;
}
.pay-option small { grid-column: 2; color: #2b211c; }

.legal-wrap {
  background: #fbf6ef;
  color: #2b211c;
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: static;
}
.legal-nav a { text-decoration: none; }
.legal-nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; }
.legal-article { max-width: 68ch; }
.legal-article li { margin: 0.3rem 0; }

.pente-footer {
  background: #6b3a2a;
  color: #fbf6ef;
  border-radius: 42px 42px 0 0;
  padding: 1.6rem 1rem 1.1rem;
  min-width: 0;
}
.pente-footer a { color: #f3e6d4; }
.pente-footer .brand-name { color: #f3e6d4; display: inline-block; margin-bottom: 0.4rem; }
.pente-footer .pente-kicker { color: #f3e6d4; }
.pente-footer h2, .pente-footer h3 { color: #fbf6ef; }
.pente-footer-inner { width: min(1120px, 100%); margin: 0 auto; min-width: 0; }
.pente-news { margin-bottom: 1.4rem; max-width: 40rem; }
.pente-footgrid a { display: block; margin: 0.2rem 0; }
.footer-copy { margin: 1.2rem 0 0; font-size: 0.92rem; }
.pente-footer :focus-visible { outline-color: #fbf6ef; }
.toast {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2b211c;
  color: #fbf6ef;
  padding: 0.7rem 1rem;
  z-index: 30;
  max-width: min(92vw, 28rem);
}

@media (min-width: 800px) {
  .menu-toggle { display: none; }
  .site-nav { display: block; }
  .pente-comb-hero .pente-tooth { flex-basis: 148px; width: 148px; }
  .pente-comb-hero .pente-face { height: 390px; }
  .pente-comb:not(.pente-comb-hero) .pente-tooth { flex-basis: 112px; width: 112px; }
  .pente-comb:not(.pente-comb-hero) .pente-face { height: 460px; }
  .product-detail { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: start; }
  .cart-layout,
  .checkout-layout,
  .contact-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr); align-items: start; }
  .legal-wrap { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: start; }
  .pente-footgrid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
}
