@font-face {
  font-family: Manrope;
  src: url('assets/manrope-normal-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/manrope-normal-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA;
}
:root {
  --ink: #22352e;
  --muted: #646d66;
  --line: #e1e3db;
  --paper: #f7f7f2;
  --accent: #2f5142;
  --soft: #eaf0e7;
  --warm: #eeeae2;
  --red: #a14532;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button,
input,
select {
  border-radius: 6px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #83977c;
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 600;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.35;
}
h3 {
  font-size: 16px;
  font-weight: 700;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 9;
}
.skip:focus {
  top: 12px;
}
.review-bar {
  padding: 9px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ecebdd;
  color: #545747;
  font-size: 12px;
}
.review-bar > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.review-bar strong {
  letter-spacing: 1px;
  font-size: 12px;
}
.review-dot {
  height: 6px;
  width: 6px;
  background: #8b8855;
  border-radius: 50%;
}
.review-bar label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.review-bar select {
  border: 1px solid #cfceb9;
  background: transparent;
  padding: 4px 8px;
  font-size: 12px;
  color: inherit;
  max-width: 260px;
}
.header {
  background: #fff;
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 23px 4%;
}
.brands {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brands img {
  width: 80px;
  max-height: 39px;
  object-fit: contain;
}
.brands img:nth-of-type(2) {
  width: 76px;
}
.brands > span {
  width: 1px;
  height: 25px;
  background: var(--line);
}
.brands small {
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 1.4px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
  margin-left: 4px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.favorites-link {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--accent);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.favorites-link:hover,
.favorites-link[aria-expanded='true'] {
  background: var(--soft);
}
.company {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}
.company small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  font-size: 12px;
  letter-spacing: 0.5px;
}
.text-link {
  font-size: 12px;
  color: var(--muted);
}
.cart-link {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
}
.cart-link b {
  background: var(--accent);
  color: white;
  min-width: 20px;
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
  padding: 1px 4px;
}
.main-nav {
  background: #fff;
  border-top: 1px solid #f3f3ef;
  border-bottom: 1px solid var(--line);
}
.main-nav > div {
  max-width: 1440px;
  display: flex;
  gap: 32px;
  margin: auto;
  padding: 0 4%;
}
.main-nav a {
  padding: 15px 0 13px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a.active {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 750;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 39px 4% 60px;
  min-height: calc(100vh - 250px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.page-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 650;
  min-height: 44px;
  line-height: 1.5;
  border-radius: 5px;
}
.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}
.button.quiet {
  color: var(--accent);
  border: none;
  background: transparent;
  padding-left: 0;
}
.button.small {
  padding: 8px 13px;
  font-size: 12px;
  min-height: 36px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
}
.filters {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.filter-title h2 {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}
.filters legend {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 750;
  margin-bottom: 13px;
}
.filters fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
}
.filters label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 12px;
}
.filters input {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
.filter-note {
  padding: 18px 15px;
  background: var(--warm);
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.85;
}
.filter-note strong {
  display: block;
  margin-bottom: 7px;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 9px 12px;
  flex: 1;
  max-width: 410px;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline-offset: 5px;
  font-size: 12px;
  min-width: 0;
}
.catalog-tools select {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 170px;
}
.results-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}
.product-card {
  min-width: 0;
  position: relative;
  background: #fdfdfa;
  border: 1px solid #e9ebe4;
  border-radius: 7px;
}
.product-card-link {
  display: block;
  border-radius: 7px;
  transition: background 0.16s;
}
.product-card-link:hover,
.product-card-link:focus-visible {
  background: #fff;
}
.product-card-description {
  padding: 0 12px;
}
.product-photo {
  display: block;
  background: #fff;
  border: 1px solid #eceee7;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.product-photo img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  transition: transform 0.2s;
}
.product-card-link:hover .product-photo img {
  transform: scale(1.025);
}
.photo-brand {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 4px 8px;
  z-index: 1;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 13px;
}
.product-card h3 {
  font-size: 13px;
  margin: 5px 0 7px;
  letter-spacing: -0.1px;
}
.product-price {
  font-size: 14px;
  font-weight: 750;
}
.card-price-caption {
  display: block;
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
  line-height: 18px;
}
.card-price-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
}
.product-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.swatches {
  display: flex;
  gap: 5px;
  align-items: center;
}
.swatch {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #0002;
}
.tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 9px;
  background: var(--soft);
  color: #3f624b;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 650;
}
.tag.neutral {
  background: #f0f1ed;
  color: #626a60;
}
.tag.warm {
  background: #f6ecda;
  color: #866c37;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 25px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}
.panel-heading h2 {
  font-size: 17px;
}
.panel-heading a {
  font-size: 12px;
  font-weight: 750;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.stat {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.stat .muted {
  font-size: 12px;
}
.stat strong {
  display: block;
  font-weight: 550;
  font-size: 30px;
  line-height: 1.5;
  margin: 6px 0;
}
.stat > a {
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: 25px;
}
.welcome-strip {
  background: #e8eee5;
  border: 1px solid #dae3d5;
  padding: 22px 26px;
  margin-bottom: 27px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.welcome-strip p {
  font-size: 12px;
  color: #61715e;
  margin-top: 6px;
}
.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 100px;
  gap: 15px;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.order-row:first-of-type {
  border-top: 0;
}
.order-row h3 {
  font-size: 12px;
}
.order-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.order-row strong {
  font-size: 12px;
  text-align: right;
}
.order-row a:hover h3 {
  text-decoration: underline;
}
.steps {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.steps li {
  font-size: 12px;
  border-top: 3px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
}
.steps li.done {
  border-color: var(--accent);
  color: var(--accent);
}
.steps li.current {
  border-color: #99ab91;
  color: var(--ink);
  font-weight: 750;
}
.lock-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 21px;
}
.icon-circle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  margin-bottom: 18px;
}
.subtle-line {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.15fr);
  gap: 55px;
}
.detail-photo {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 18px;
}
.detail-photo img {
  height: 540px;
  width: 100%;
  object-fit: contain;
}
.photo-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.detail-info h1 {
  margin: 10px 0 14px;
}
.detail-price {
  font-size: 24px;
  font-weight: 650;
  margin-bottom: 9px;
}
.detail-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.detail-info > p {
  font-size: 12px;
  color: var(--muted);
}
.color-options {
  display: flex;
  gap: 9px;
  margin: 13px 0 22px;
  flex-wrap: wrap;
}
.color-option {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  padding: 9px 13px;
  font-size: 12px;
  min-height: 40px;
}
.color-option[aria-pressed='true'] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.grade-title {
  font-size: 12px;
  font-weight: 750;
  margin-top: 26px;
}
.grade-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}
.grade-table th {
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.grade-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.grade-table th:last-child,
.grade-table td:last-child {
  text-align: right;
}
.qty-input {
  width: 70px;
  min-height: 39px;
  padding: 6px 9px;
  text-align: center;
  border: 1px solid var(--line);
  background: white;
}
.qty-input:disabled {
  background: #eee;
  color: #8f968d;
}
.grade-table small {
  font-size: 12px;
  color: var(--muted);
}
.selection-total {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  gap: 15px;
  font-size: 12px;
}
.selection-total strong {
  font-size: 19px;
}
.detail-info .button.primary {
  width: 100%;
}
.inline-error {
  font-size: 12px;
  color: var(--red);
  padding: 10px 0;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 95px;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  height: 85px;
  width: 68px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.cart-item h3 {
  font-size: 12px;
}
.cart-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.cart-item strong {
  font-size: 12px;
  display: block;
  text-align: right;
}
.remove-item {
  font-size: 12px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--muted);
  float: right;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin: 15px 0;
}
.summary-total {
  font-size: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.progress {
  height: 5px;
  background: #e8eade;
  border-radius: 5px;
  overflow: hidden;
  margin: 16px 0 10px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
}
.summary .button {
  width: 100%;
  margin-top: 22px;
}
.summary p {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 50px 24px;
}
.empty .icon-circle {
  margin: 0 auto 20px;
}
.empty p {
  max-width: 490px;
  margin: 12px auto 25px;
  color: var(--muted);
  font-size: 13px;
}
.lock-page {
  max-width: 680px;
  margin: 24px auto 35px;
  padding: 45px;
}
.lock-page .icon-circle {
  width: 55px;
  height: 55px;
  margin-left: auto;
  margin-right: auto;
}
.lock-page h2 {
  font-size: 25px;
}
.lock-page details {
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
  font-size: 12px;
}
.lock-page summary {
  cursor: pointer;
  font-weight: 750;
}
.lock-page details p {
  margin-bottom: 8px;
}
.table-wrap {
  overflow-x: auto;
}
table.documents {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
table.documents th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 550;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
table.documents td {
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
}
table.documents td:first-child {
  padding-left: 0;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.field {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 7px;
  margin: 16px 0;
}
.field input {
  border: 1px solid var(--line);
  padding: 11px 12px;
  max-width: 100%;
  background: #fafbf7;
  color: var(--ink);
}
.account-grid .tag {
  margin-bottom: 10px;
}
.registration {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 10px auto;
}
.registration-intro {
  padding: 25px 0;
}
.registration-intro h1 {
  font-size: 42px;
  line-height: 1.2;
  max-width: 360px;
}
.registration-intro p {
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 340px;
}
.registration-intro ul {
  padding: 0;
  list-style: none;
  margin-top: 25px;
}
.registration-intro li {
  padding: 10px 0;
  font-size: 12px;
}
.registration-intro li svg {
  margin-right: 10px;
}
.registration .panel {
  padding: 32px;
}
.registration .button {
  width: 100%;
  margin-top: 10px;
}
.footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 4%;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.footer-brand strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.footer-brand strong span {
  color: var(--muted);
  font-weight: 400;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
}
.footer-links a,
.footer-links .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.footer-links [data-legal],
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shopping-shortcuts {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-cart,
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 4px 18px #22352e16;
  font-size: 12px;
  font-weight: 650;
}
.floating-cart {
  padding: 10px 16px;
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.floating-cart:hover {
  background: var(--ink);
}
.floating-cart b {
  min-width: 22px;
  padding: 1px 5px;
  border-radius: 12px;
  background: #ffffff24;
  text-align: center;
}
.back-to-top {
  width: 48px;
  background: #fdfdfa;
  color: var(--accent);
}
.back-to-top:hover {
  background: var(--soft);
}
body:has(.shopping-shortcuts:not([hidden])) > .footer {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  width: min(520px, calc(100% - 40px));
  color: var(--ink);
}
dialog::backdrop {
  background: #22352e66;
}
dialog p {
  font-size: 13px;
  margin: 15px 0 25px;
}
dialog h2 {
  font-size: 23px;
}
dialog .summary-line {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.full-width {
  grid-column: 1/-1;
}
.pill-count {
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .product-photo img {
    height: 330px;
  }
}
@media (max-width: 1100px) {
  .header-actions {
    gap: 15px;
  }
  .header-actions .text-link {
    display: none;
  }
  .brands {
    gap: 12px;
  }
  .brands small {
    display: none;
  }
  .catalog-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 25px;
  }
  .product-photo img {
    height: 240px;
  }
  .product-grid {
    gap: 26px 16px;
  }
  .product-detail {
    gap: 30px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .order-row {
    grid-template-columns: minmax(0, 1fr) 90px;
  }
  .order-row strong {
    display: none;
  }
}
@media (max-width: 760px) {
  .review-bar {
    padding: 9px 5%;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .review-bar > div {
    gap: 7px;
    font-size: 12px;
  }
  .review-bar label {
    font-size: 12px;
  }
  .review-bar select {
    font-size: 12px;
  }
  .header-inner {
    padding: 18px 5%;
    gap: 12px;
  }
  .header-actions {
    gap: 6px;
  }
  .shopping-shortcuts {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .product-card-description {
    padding: 0 10px;
  }
  .brands {
    gap: 10px;
  }
  .brands img {
    width: 57px;
    max-height: 27px;
  }
  .brands img:nth-of-type(2) {
    width: 57px;
  }
  .company {
    display: none;
  }
  .cart-link {
    padding: 9px;
    gap: 7px;
  }
  .cart-label {
    display: none;
  }
  .main-nav > div {
    padding: 0 5%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .main-nav a {
    font-size: 12px;
    padding: 12px 0;
  }
  .main-nav > div {
    max-width: 100vw;
  }
  main {
    padding: 27px 5% 40px;
    min-height: 60vh;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -0.9px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 25px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 290px;
  }
  .page-heading .button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
  .catalog-layout {
    display: block;
  }
  .filters {
    padding: 0;
    border: 0;
    margin-bottom: 17px;
  }
  .filter-title,
  .filter-note,
  .filters legend,
  .filters fieldset.categories {
    display: none;
  }
  .filters fieldset {
    display: flex;
    gap: 18px;
    margin: 0;
  }
  .filters label {
    font-size: 12px;
  }
  .catalog-tools {
    gap: 6px;
  }
  .search {
    padding: 10px;
    font-size: 12px;
  }
  .search input {
    font-size: 12px;
  }
  .catalog-tools select {
    font-size: 12px;
    max-width: 120px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .product-photo img {
    height: 225px;
  }
  .product-card h3 {
    font-size: 12px;
    line-height: 1.5;
    min-height: 35px;
  }
  .product-meta {
    font-size: 12px;
  }
  .product-price {
    font-size: 13px;
  }
  .product-price small {
    font-size: 12px;
  }
  .photo-brand {
    font-size: 12px;
    left: 8px;
    top: 8px;
    padding: 3px 5px;
  }
  .product-detail {
    display: block;
  }
  .detail-photo {
    padding: 10px;
    max-width: 380px;
    margin: auto;
  }
  .detail-photo img {
    height: 350px;
  }
  .detail-info {
    margin-top: 26px;
  }
  .photo-caption {
    max-width: 380px;
    margin: 10px auto;
  }
  .stat-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:last-child {
    grid-column: 1/-1;
  }
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 24px;
  }
  .dashboard-grid,
  .cart-layout,
  .account-grid,
  .registration {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .panel {
    padding: 20px;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .welcome-strip {
    padding: 20px;
    align-items: flex-start;
    gap: 15px;
  }
  .welcome-strip h3 {
    font-size: 13px;
  }
  .welcome-strip p {
    font-size: 12px;
  }
  .welcome-strip .button {
    padding: 8px 10px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .order-row {
    grid-template-columns: minmax(0, 1fr) 100px;
  }
  .order-row strong {
    display: none;
  }
  .order-row p {
    font-size: 12px;
  }
  .tag {
    font-size: 12px;
  }
  .steps {
    gap: 8px;
  }
  .steps li {
    font-size: 12px;
  }
  .cart-item {
    grid-template-columns: 55px minmax(0, 1fr) 80px;
    gap: 11px;
  }
  .cart-item img {
    width: 55px;
    height: 77px;
  }
  .cart-item h3 {
    font-size: 12px;
  }
  .cart-item p {
    font-size: 12px;
  }
  .cart-item strong {
    font-size: 12px;
  }
  .lock-page {
    padding: 27px 21px;
  }
  .lock-page h2 {
    font-size: 23px;
  }
  .registration {
    gap: 20px;
  }
  .registration-intro {
    padding: 0;
  }
  .registration-intro h1 {
    font-size: 32px;
  }
  .registration-intro p {
    margin: 12px 0;
  }
  .registration-intro ul {
    display: none;
  }
  .registration .panel {
    padding: 23px;
  }
  .footer {
    padding: 12px 5% 14px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .table-wrap {
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .product-photo img {
    height: 188px;
  }
  .review-bar > div span:last-child {
    font-size: 12px;
  }
  .main-nav > div {
    gap: 15px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .catalog-tools select {
    max-width: 97px;
    font-size: 12px;
  }
  .catalog-tools .search input {
    font-size: 12px;
  }
  .cart-item {
    grid-template-columns: 45px minmax(0, 1fr) 73px;
    gap: 8px;
  }
  .cart-item img {
    width: 45px;
  }
  .welcome-strip {
    display: block;
  }
  .welcome-strip .button {
    margin-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Descoberta por peça, público e estilo; mantém a identidade visual aprovada. */
.catalog-discovery {
  margin-bottom: 25px;
}
.catalog-discovery .catalog-tools {
  margin-bottom: 12px;
}
.catalog-discovery .search {
  max-width: 620px;
  padding: 12px 14px;
}
.catalog-discovery .search input {
  font-size: 13px;
}
.search-examples {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-examples > span {
  font-size: 12px;
  color: var(--muted);
}
.search-examples button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  padding: 7px 11px;
  min-height: 33px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 5px;
}
.search-examples svg {
  width: 13px;
  height: 13px;
}
.catalog-filters {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  min-width: 0;
}
.catalog-filters .filter-title {
  display: flex;
  margin-bottom: 23px;
}
.catalog-filters .filter-title h2 {
  font-size: 12px;
  letter-spacing: 0;
}
.facet-group {
  border: 0;
  padding: 0;
  margin: 0 0 23px;
  min-width: 0;
}
.facet-group legend {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 750;
  margin-bottom: 10px;
}
.facet-options {
  display: grid;
  gap: 4px;
}
.facet-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 10px;
  font-size: 12px;
  min-height: 37px;
  color: var(--muted);
  text-align: left;
}
.facet-option[aria-pressed='true'] {
  border-color: #d9e2d4;
  background: var(--soft);
  color: var(--accent);
  font-weight: 750;
}
.facet-option:not(:disabled):hover {
  background: #edf0e8;
}
.facet-option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.facet-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.brand-filter {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 6px;
}
.brand-filter > summary {
  font-size: 12px;
  cursor: pointer;
  min-height: 38px;
  color: var(--muted);
}
.brand-filter > summary > span {
  font-size: 12px;
  margin-left: 7px;
}
.brand-filter .facet-group {
  margin-top: 10px;
}
.brand-filter legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 38px;
  margin-bottom: 8px;
}
.result-heading .results-note {
  margin: 0;
  font-size: 12px;
}
.clear-filters {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 38px;
  padding: 7px 0;
}
.active-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.active-filters:empty {
  display: none;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d9e2d4;
  background: var(--soft);
  border-radius: 5px;
  font-size: 12px;
  color: var(--accent);
  padding: 5px 10px;
  min-height: 30px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}
.filter-chip span {
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}
.search-chip {
  background: white;
  border-color: var(--line);
}
.catalog-results {
  min-width: 0;
  scroll-margin-top: 20px;
}
.mobile-filter-toggle,
.mobile-filter-results {
  display: none;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .catalog-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .catalog-discovery {
    margin-bottom: 20px;
  }
  .catalog-discovery .catalog-tools {
    align-items: center;
  }
  .catalog-discovery .search {
    max-width: none;
    padding: 11px;
    min-width: 0;
  }
  .catalog-discovery .search input {
    font-size: 12px;
  }
  .catalog-discovery .catalog-tools select {
    font-size: 12px;
    max-width: 112px;
  }
  .search-examples {
    gap: 8px;
  }
  .search-examples > span {
    width: 100%;
    font-size: 12px;
  }
  .search-examples button {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 38px;
  }
  .catalog-filters {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
    padding: 0;
    margin-bottom: 15px;
  }
  .catalog-filters .filter-title {
    display: none;
  }
  .mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 0;
    color: var(--ink);
    width: 100%;
    padding: 13px 14px;
    min-height: 48px;
    text-align: left;
    font-size: 12px;
  }
  .mobile-filter-toggle svg {
    height: 17px;
    width: 17px;
  }
  .filter-toggle-text {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
  }
  #filter-number:not(:empty) {
    font-size: 12px;
    padding: 1px 6px;
    background: var(--soft);
    color: var(--accent);
    border-radius: 4px;
  }
  .filter-body {
    padding: 6px 14px 17px;
  }
  .catalog-filters[data-mobile-open='false'] .filter-body {
    display: none;
  }
  .facet-group {
    margin-bottom: 21px;
  }
  .facet-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .facet-option {
    width: auto;
    font-size: 12px;
    border: 1px solid var(--line);
    min-height: 42px;
    padding: 8px 11px;
    gap: 9px;
  }
  .facet-option[aria-pressed='true'] {
    border-color: #92a68a;
  }
  .facet-count {
    font-size: 12px;
  }
  .facet-group legend {
    font-size: 12px;
  }
  .brand-filter {
    margin-top: 0;
  }
  .brand-filter > summary {
    font-size: 12px;
    min-height: 30px;
  }
  .mobile-filter-results {
    display: flex;
    width: 100%;
    margin-top: 15px;
    font-size: 12px;
  }
  .result-heading {
    min-height: 36px;
    margin-bottom: 8px;
  }
  .result-heading .results-note {
    font-size: 12px;
  }
  .clear-filters {
    font-size: 12px;
  }
  .filter-chip {
    font-size: 12px;
    min-height: 34px;
    padding: 6px 10px;
  }
  .active-filters {
    margin-bottom: 17px;
    gap: 7px;
  }
}
@media (max-width: 380px) {
  .catalog-discovery .catalog-tools {
    flex-wrap: wrap;
  }
  .catalog-discovery .search {
    max-width: none;
    flex-basis: 100%;
  }
  .catalog-discovery .catalog-tools select {
    margin-left: auto;
  }
  .search-examples button {
    font-size: 12px;
  }
  .mobile-filter-toggle {
    font-size: 12px;
    gap: 7px;
  }
  .filter-toggle-text {
    font-size: 12px;
  }
}

/* Navegação comercial, escolhas relevantes e continuidade da compra. */
[hidden] {
  display: none !important;
}
.main-nav .customer-entry {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.customer-entry svg {
  width: 15px;
  height: 15px;
}
.customer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 20px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.customer-nav-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 750;
  color: var(--accent);
  white-space: nowrap;
}
.customer-nav-title svg {
  width: 17px;
  height: 17px;
}
.customer-nav-links {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
}
.customer-nav-links a {
  font-size: 12px;
  white-space: nowrap;
  padding: 10px 13px;
  border-radius: 4px;
  color: var(--muted);
}
.customer-nav-links a:hover,
.customer-nav-links a[aria-current='page'] {
  background: var(--soft);
  color: var(--accent);
}
.customer-nav-links a[aria-current='page'] {
  font-weight: 750;
}
.in-cart-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: max-content;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 2px 8px #00000012;
}
.in-cart-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.product-cart-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent) !important;
  font-size: 12px !important;
  font-weight: 650;
}
.product-cart-status svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.added-to-order {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid #d9e2d4;
  border-radius: 6px;
  background: var(--soft);
}
.added-to-order p {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}
.added-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.added-actions .button {
  font-size: 12px;
  padding: 11px 14px;
}
.added-actions .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.added-actions svg {
  width: 15px;
  height: 15px;
}
.return-catalog {
  display: inline-block;
  font-size: 12px;
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .customer-nav {
    gap: 14px;
    padding: 14px;
  }
  .customer-nav-links {
    gap: 4px;
  }
  .customer-nav-links a {
    padding: 10px;
  }
}
@media (max-width: 760px) {
  .main-nav > div {
    gap: 17px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .main-nav .customer-entry {
    gap: 4px;
  }
  .customer-entry svg {
    width: 12px;
    height: 12px;
  }
  .customer-nav {
    display: block;
    margin-bottom: 24px;
    padding: 12px;
  }
  .customer-nav-title {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .customer-nav-links {
    flex-wrap: wrap;
    overflow: visible;
    gap: 4px;
  }
  .customer-nav-links a {
    font-size: 12px;
    padding: 11px 10px;
  }
  .in-cart-badge {
    left: 7px;
    right: 7px;
    bottom: 8px;
    padding: 6px 8px;
    font-size: 12px;
    gap: 4px;
  }
  .in-cart-badge svg {
    width: 12px;
    height: 12px;
  }
  .added-to-order {
    padding: 14px;
  }
  .added-actions {
    gap: 15px;
  }
  .added-actions .button {
    min-height: 42px;
  }
  .added-actions .text-link {
    min-height: 36px;
  }
}
@media (max-width: 380px) {
  .main-nav > div {
    gap: 12px;
  }
  .main-nav .customer-entry {
    gap: 2px;
  }
  .customer-entry svg {
    display: none;
  }
  .in-cart-badge {
    font-size: 12px;
    padding: 6px;
  }
  .added-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

/* Dados reais da referência, preço por variante e estado da consulta. */
.catalog-data-status {
  margin: 0 0 22px;
}
.catalog-sync {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.catalog-sync button {
  background: none;
  border: 0;
  font-size: 12px;
  white-space: nowrap;
  color: var(--accent);
  padding: 8px 0;
}
.catalog-sync button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.catalog-sync-warning {
  background: #f6eddc;
  color: #78582d;
  padding: 10px 12px;
  font-size: 12px;
  margin-top: 8px;
  border-radius: 4px;
}
.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 24px 0 10px;
}
.product-facts div {
  min-width: 0;
}
.product-facts dt {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.product-facts dd {
  font-size: 12px;
  font-weight: 650;
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-info .grade-description {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 18px;
}
.product-laundry {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 18px 0;
}
.product-laundry h2 {
  font-size: 12px;
  margin-bottom: 10px;
}
.product-laundry p {
  font-size: 12px !important;
}
.laundry-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.laundry-list li {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  background: white;
}
.price-from {
  display: block;
  font-size: 12px;
  font-weight: 450;
  color: var(--muted);
  margin-bottom: 3px;
}
.detail-info .variant-price-note {
  font-size: 12px;
  margin: 8px 0 20px;
}
.sku-code {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.variant-price {
  white-space: nowrap;
  font-size: 12px;
}
.grade-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.grade-table .qty-input {
  width: 68px;
}
.color-options {
  max-height: 190px;
  overflow-y: auto;
  padding: 2px;
}
.color-option small {
  font-size: 12px;
  font-weight: 400;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #eceee7;
  color: var(--muted);
  height: 290px;
  width: 100%;
  font-size: 12px;
}
.photo-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.65;
}
.photo-placeholder small {
  font-size: 12px;
}
.detail-photo .photo-placeholder {
  height: 560px;
}
.card-facts {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 12px;
  min-height: 16px;
}
.color-summary {
  font-size: 12px;
  color: var(--muted);
}
.product-price {
  min-height: 51px;
}
.cart-unit-price {
  font-size: 12px !important;
}
.cart-item-note {
  color: var(--accent);
  font-size: 12px !important;
}
.cart-item-error {
  color: #964d30;
  font-size: 12px !important;
  line-height: 1.5;
  margin-top: 8px;
}
.cart-photo-placeholder {
  width: 75px;
  height: 95px;
  background: var(--soft);
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .photo-placeholder {
    height: 240px;
  }
  .product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .catalog-data-status {
    margin-bottom: 17px;
  }
  .catalog-sync {
    font-size: 12px;
    align-items: flex-start;
    line-height: 1.6;
  }
  .catalog-sync button {
    font-size: 12px;
    padding: 0;
    min-height: 28px;
  }
  .product-facts {
    gap: 14px 12px;
  }
  .product-facts dd {
    font-size: 12px;
  }
  .product-facts dt {
    font-size: 12px;
  }
  .product-laundry {
    margin: 16px 0;
  }
  .grade-table th {
    font-size: 12px;
  }
  .grade-table td {
    font-size: 12px;
    padding: 12px 4px;
  }
  .grade-table th:last-child {
    font-size: 12px;
  }
  .grade-table .qty-input {
    width: 52px;
  }
  .grade-table .sku-code {
    font-size: 12px;
  }
  .photo-placeholder {
    height: 225px;
  }
  .detail-photo .photo-placeholder {
    height: 340px;
  }
  .card-facts {
    font-size: 12px;
  }
  .color-summary {
    font-size: 12px;
  }
  .price-from {
    font-size: 12px;
  }
  .product-price {
    min-height: 46px;
  }
  .cart-photo-placeholder {
    width: 56px;
    height: 76px;
  }
}
@media (max-width: 380px) {
  .photo-placeholder {
    height: 188px;
  }
  .grade-table td {
    padding: 10px 2px;
  }
  .grade-table .qty-input {
    width: 42px;
  }
  .grade-table .variant-price {
    font-size: 12px;
  }
  .catalog-sync {
    gap: 6px;
  }
}

.grade-table .size-unavailable {
  color: var(--muted);
  background: #f5f6f2;
}
.grade-table .size-status {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.grade-table .size-unavailable .qty-input {
  background: #ecefe8;
  color: #738077;
  cursor: not-allowed;
}
.grade-empty {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}

/* Keyboard, reduced motion and safe areas preserve the normal visual layout. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
html {
  scroll-padding-block: 110px 130px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 760px) {
  input:not([type='checkbox']):not([type='radio']),
  select,
  textarea {
    font-size: 16px !important;
  }
  input:not([type='checkbox']):not([type='radio']),
  select {
    min-height: 44px;
  }
}
body:not([data-ready='true']) .footer {
  visibility: hidden;
}

/* Compra direta: identidade preservada, conteúdo e ação mais próximos. */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: 'visual intro' 'visual purchase';
  grid-template-rows: auto 1fr;
  gap: 20px 44px;
  align-items: start;
}
.product-intro {
  grid-area: intro;
  min-width: 0;
}
.product-intro h1 {
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -1px;
  margin: 12px 0 16px;
}
.product-intro .detail-price {
  margin: 16px 0 0;
}
.product-intro .variant-price-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.product-visual {
  grid-area: visual;
  min-width: 0;
}
.detail-info {
  grid-area: purchase;
  min-width: 0;
}
.product-purchase {
  scroll-margin-top: 25px;
}
.product-purchase:focus {
  outline: none;
}
.product-purchase:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}
.product-description {
  margin-top: 28px;
  border-block: 1px solid var(--line);
  padding: 0 0 12px;
}
.product-description > summary {
  cursor: pointer;
  padding: 18px 0 8px;
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
}
.product-description > summary > span {
  display: block;
  font-size: 12px;
  font-weight: 450;
  color: var(--muted);
  margin: 5px 0 0 18px;
}
.product-description .product-facts {
  margin-top: 18px;
}
.product-description .product-laundry {
  border-bottom: 0;
  padding-bottom: 18px;
  margin-bottom: 0;
}
.mobile-purchase-bar {
  display: none;
}
.photo-caption,
.grade-description,
.grade-table .sku-code,
.size-status {
  font-size: 12px;
  line-height: 1.65;
}
.product-facts dt {
  font-size: 12px;
}
.product-facts dd {
  font-size: 13px;
}
.laundry-list li,
.card-facts,
.color-summary {
  font-size: 12px;
}
.product-laundry h2 {
  font-size: 13px;
}
.grade-table th,
.grade-table th:last-child {
  font-size: 12px;
}
.grade-table td,
.variant-price {
  font-size: 13px;
}
.grade-table .sku-code {
  font-size: 12px;
}
.color-option {
  min-height: 44px;
}
.color-option small {
  font-size: 12px;
}
.breadcrumb,
.return-catalog,
.catalog-sync,
.catalog-sync button,
.footer,
.product-meta,
.search-examples > span,
.search-examples button,
.facet-count,
.brand-filter > summary > span,
.filter-chip,
.clear-filters {
  font-size: 12px;
}
.return-catalog,
.clear-filters,
.catalog-sync button {
  min-height: 40px;
}
.return-catalog {
  display: inline-flex;
  align-items: center;
}
.facet-group legend {
  font-size: 12px;
}
.search-examples button {
  min-height: 40px;
}
.customer-nav-links a {
  font-size: 12px;
}
.footer {
  line-height: 1.7;
}
.catalog-sync {
  align-items: center;
}
@media (max-width: 760px) {
  main {
    padding-top: 24px;
  }
  .page-heading {
    margin-bottom: 18px;
  }
  .page-heading h1 {
    font-size: 28px;
    line-height: 1.18;
  }
  .page-heading p {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .main-nav > div {
    gap: 16px;
  }
  .main-nav a {
    font-size: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .main-nav .customer-entry {
    gap: 4px;
  }
  .customer-nav-title {
    font-size: 12px;
  }
  .customer-nav-links a {
    font-size: 12px;
    min-height: 44px;
  }
  .catalog-discovery {
    margin-bottom: 12px;
  }
  .catalog-discovery .catalog-tools {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
  }
  .catalog-discovery .search {
    flex: 1 1 100%;
    padding: 7px 12px;
  }
  .catalog-discovery .catalog-tools select {
    max-width: 100%;
    width: auto;
    min-height: 40px;
    font-size: 13px !important;
    margin-left: auto;
  }
  .search-examples {
    gap: 7px;
  }
  .search-examples > span {
    display: none;
  }
  .search-examples button {
    min-height: 40px;
    font-size: 12px;
    padding: 7px 9px;
  }
  .search-examples svg {
    display: none;
  }
  .catalog-data-status {
    margin-bottom: 12px;
  }
  .catalog-sync {
    font-size: 12px;
    padding: 5px 0;
    gap: 8px;
  }
  .catalog-sync button {
    font-size: 12px;
    min-height: 36px;
    padding: 4px 0;
  }
  .catalog-filters {
    margin-bottom: 8px;
  }
  .mobile-filter-toggle {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 12px;
  }
  .filter-toggle-text {
    font-size: 12px;
  }
  .facet-option {
    font-size: 13px;
    min-height: 44px;
  }
  .facet-count,
  .facet-group legend {
    font-size: 12px;
  }
  .result-heading .results-note,
  .clear-filters,
  .filter-chip {
    font-size: 12px;
  }
  .active-filters {
    margin-bottom: 12px;
  }
  .filter-chip {
    min-height: 34px;
    padding: 5px 10px;
  }
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'intro' 'visual' 'purchase';
    gap: 20px;
  }
  .product-intro h1 {
    font-size: 26px;
    line-height: 1.2;
    margin: 8px 0 12px;
  }
  .product-intro .detail-price {
    font-size: 24px;
    margin: 12px 0 0;
  }
  .product-intro .product-commercial-summary {
    font-size: 13px;
  }
  .product-intro .favorite-detail {
    margin-top: 0;
  }
  .product-detail .detail-photo {
    height: min(90vw, 350px);
    min-height: 0;
  }
  .product-detail .detail-photo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  .product-detail .detail-photo .photo-placeholder {
    height: 100%;
  }
  .product-detail .photo-caption,
  .detail-info .grade-description {
    font-size: 12px;
    line-height: 1.6;
  }
  .product-facts dt {
    font-size: 12px;
  }
  .product-facts dd {
    font-size: 13px;
  }
  .laundry-list li {
    font-size: 12px;
  }
  .product-cart-status {
    font-size: 12px !important;
  }
  .grade-title {
    font-size: 15px;
  }
  .grade-table th,
  .grade-table th:last-child {
    font-size: 12px;
  }
  .grade-table td,
  .grade-table .variant-price {
    font-size: 13px;
    padding: 12px 4px;
  }
  .grade-table .sku-code,
  .grade-table .size-status {
    font-size: 12px;
  }
  .grade-table .qty-input {
    width: 68px;
    min-height: 44px;
  }
  .color-option {
    min-height: 44px;
    font-size: 13px;
  }
  .color-option small {
    font-size: 12px;
  }
  .mobile-purchase-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -5px 20px #22352e0a;
  }
  .mobile-purchase-bar > div {
    min-width: 0;
    flex: 1;
  }
  .mobile-purchase-bar span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
  }
  .mobile-purchase-bar strong {
    display: block;
    font-size: 17px;
    margin-top: 3px;
  }
  .mobile-purchase-bar strong:empty {
    display: none;
  }
  .mobile-purchase-bar .button {
    min-height: 46px;
    padding: 11px 15px;
    font-size: 13px;
    flex-shrink: 0;
  }
  body:has(.mobile-purchase-bar) {
    padding-bottom: 100px;
  }
  .product-purchase {
    scroll-margin-bottom: 110px;
  }
  .product-description > summary {
    font-size: 15px;
  }
  .breadcrumb {
    flex-wrap: wrap;
    gap: 9px;
    font-size: 12px;
    margin-bottom: 12px;
  }
  .breadcrumb a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .product-card h3 {
    font-size: 15px;
    line-height: 1.4;
  }
  .product-meta,
  .card-facts,
  .color-summary {
    font-size: 12px;
  }
  .product-price {
    font-size: 18px;
  }
  .product-price .price-login {
    font-size: 12px;
  }
  .in-cart-badge {
    font-size: 12px;
    line-height: 1.4;
  }
  .subtle-line {
    font-size: 12px !important;
    line-height: 1.65;
  }
  .footer {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .main-nav > div {
    gap: 10px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .search-examples {
    gap: 5px;
  }
  .search-examples button {
    font-size: 12px;
    padding-inline: 7px;
  }
  .mobile-purchase-bar .button {
    padding-inline: 11px;
    font-size: 12px;
  }
  .mobile-purchase-bar span {
    font-size: 12px;
  }
  .product-intro h1 {
    font-size: 24px;
  }
}
@media print {
  .mobile-purchase-bar {
    display: none !important;
  }
}

/* Produto: ações compactas, sem linhas de espaço reservadas. */
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > main {
  width: 100%;
  flex: 1;
  min-height: 0;
}
.product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.product-title-row h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.product-actions {
  flex-shrink: 0;
}
.product-actions:empty {
  display: none;
}
.product-title-row .recurring-favorite-detail,
.product-preview-favorite {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}
.product-title-row .recurring-favorite-detail span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.product-intro .eyebrow {
  margin-bottom: 8px;
}
.product-intro .product-commercial-summary {
  margin: 10px 0 0;
}
.product-intro .detail-price {
  margin-top: 12px;
}
.product-detail .detail-info {
  margin-top: 0;
}
.product-detail .subtle-line {
  margin: 14px 0 0 !important;
  padding: 0;
  font-size: 12px;
}
.product-description {
  margin-top: 20px;
}
.product-description .product-laundry {
  margin-top: 14px;
}
@media (max-width: 760px) {
  body > main {
    padding-top: 12px;
    padding-bottom: 22px;
  }
  .breadcrumb {
    margin-bottom: 10px;
    gap: 6px;
    line-height: 1.4;
  }
  .breadcrumb a {
    min-height: 36px;
  }
  .product-detail {
    gap: 16px;
  }
  .product-intro h1 {
    margin: 0;
    align-self: center;
  }
  .product-title-row {
    gap: 10px;
    align-items: center;
  }
  .product-intro .detail-price {
    margin-top: 10px;
  }
  .product-description {
    margin-top: 14px;
  }
  .product-description > summary {
    padding-top: 12px;
  }
  body:has(.mobile-purchase-bar) {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

.product-purchase > .color-options:last-child {
  margin-bottom: 0;
}
.detail-info > .return-catalog {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 12px 0 0;
}

/* Busca compacta com área de toque preservada e sem faixa vazia de atalhos. */
.catalog-discovery .search {
  padding: 3px 12px;
  min-height: 44px;
}
.catalog-discovery .search input {
  min-height: 36px;
}
.catalog-discovery:not(:has(.search-examples)) .catalog-tools {
  margin-bottom: 0;
}
.quantity-adjustment-notice {
  padding: 14px 16px;
  border: 1px solid #dbd0ad;
  border-radius: 6px;
  background: #faf7ec;
  color: #57471f;
  line-height: 1.65;
  margin-bottom: 18px;
}
.added-to-order.quantity-adjustment-notice {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .catalog-discovery .search input {
    min-height: 44px;
  }
  .quantity-adjustment-notice {
    padding: 12px;
    font-size: 12px;
  }
}
.search-examples button {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}

/* Contagem e ordenação juntas; ações de filtros ficam junto dos filtros ativos. */
.result-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}
.catalog-sort {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.catalog-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.catalog-filter-summary:has(.active-filters:empty) {
  display: none;
}
.catalog-filter-summary .active-filters {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.catalog-filter-summary .clear-filters {
  flex-shrink: 0;
}

/* Cada informação ocupa o mesmo espaço nas referências da seleção. */
.product-grid {
  row-gap: 36px;
}
.product-card .product-meta {
  margin-top: 9px;
  line-height: 1.5;
  gap: 6px;
  min-height: 18px;
  white-space: nowrap;
}
.product-card h3 {
  margin: 4px 0 3px;
  height: 3em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-card .card-facts {
  margin: 0;
  height: 18px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card .product-price {
  min-height: 0;
  line-height: 1.5;
  padding: 6px 12px 14px;
}
.product-card .product-price > del {
  display: block;
}
.product-card .price-login {
  min-height: 39px;
}
.product-card .price-login svg {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .result-heading {
    column-gap: 8px;
  }
  .catalog-sort {
    font-size: 13px !important;
  }
  .catalog-filter-summary {
    gap: 8px 10px;
    margin-bottom: 12px;
  }
  .product-grid {
    row-gap: 32px;
  }
  .product-card .product-price {
    padding: 6px 10px 12px;
  }
}

.catalog-image {
  display: block;
  max-width: 100%;
  background: #f2f3ed;
  opacity: 0;
  transition: opacity 0.16s ease;
}
.catalog-image.is-loaded {
  opacity: 1;
}
.catalog-image.is-error {
  display: none;
}
.image-pending {
  position: relative;
  background: #f2f3ed;
}
.image-failure {
  display: grid;
  place-content: center;
  min-height: 240px;
  padding: 24px;
  font-size: 13px;
  color: #53645b;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .catalog-image {
    transition: none;
  }
}

.catalog-pagination {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.catalog-pagination .text-link {
  display: inline-block;
  margin-left: 12px;
}
.catalog-pagination [aria-busy='true'] {
  opacity: 0.6;
}
.catalog-pagination:empty {
  display: none;
}
@media print {
  .shopping-shortcuts {
    display: none;
  }
}

.legal-public-page {
  max-width: 900px;
  margin: 24px auto;
}
.legal-public-page .legal-document h1 {
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 34px);
}

/* A single price hierarchy for the catalog, product and size grid. */
.catalog-price {
  display: grid;
  gap: 2px;
}
.catalog-price-before {
  min-height: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
.catalog-price-before del {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.catalog-price-current {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.catalog-price-current small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}
.catalog-price-benefit {
  color: var(--green, #234c3f);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}
.catalog-price-welcome .catalog-price-current,
.catalog-price-welcome .catalog-price-benefit {
  color: #88561f;
}
.detail-price .catalog-price-current {
  font-size: 28px;
}
.detail-price .catalog-price-before,
.detail-price .catalog-price-benefit {
  font-size: 12px;
}
.catalog-price-compact .catalog-price-current {
  font-size: 14px;
}
@media (max-width: 480px) {
  .product-card .catalog-price-current {
    font-size: 17px;
  }
  .product-card .catalog-price-current small {
    font-size: 10px;
  }
}
