/* Marmenina v0.2 — refinamento progressivo. Nenhuma regra comercial.
 * CSS original preservado nesta cópia: refinamentos carregados por último. */
:root { color-scheme: light; }
html { scroll-padding-top: 20px; }
a,button,input,select,summary { -webkit-tap-highlight-color: transparent; }
:where(a,button,input,select,summary,[tabindex]):focus-visible {
  outline: 3px solid #7122a1;
  outline-offset: 4px;
}
/* Tipografia funcional: legenda deve continuar legível sem alterar a direção da marca. */
.preview-bar, .preview-bar span, .eyebrow, .hero-note,
.selection-note, .results-bar p, .text-button, .catalog-disclaimer,
.product-line, .product-size, .price-label, .detail-notice,
.category-card > div > span, .category-link,
.footer-bottom, .footer > div:not(.footer-bottom) { font-size: max(12px, 0.78rem); line-height: 1.5; }
.product-card h3 { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.3; min-height: 0; }
.product-line { line-height: 1.35; }
.price { font-size: clamp(18px,1.4vw,23px); }
.product-card .details-button, .product-card .add-button, .filter,
.sort-label, .sort-label select, .navigation a,
.questions summary, .questions p, .subtotal, .total-note,
.cart-notice, .row-price, .review-row, .cart-empty p { font-size: max(13px, .82rem); }
.filter, .details-button, .add-button, .icon-button,
.cart-row .quantity button, .cart-row .remove, .close-dialog {
  min-height: 44px;
  min-width: 44px;
}
.product-card .card-actions { gap: 9px; }
.product-card .card-actions button { border-radius: 999px; }
.product-card .details-button { padding: 8px 12px; }
.product-card .add-button { padding: 8px 14px; }
#results-count { min-height: 1.5em; }
#product-dialog, #cart-dialog, #checkout-dialog {
  max-height: min(92dvh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#product-dialog [data-close], #cart-dialog [data-close], #checkout-dialog [data-close] {
  width: 44px;
  height: 44px;
}
#menu-toggle[aria-expanded='true'] { background: #f1e8f5; }
#navigation a[aria-current='page'] { color: #6c238a; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .filter-bar { align-items: flex-start; }
  .filters { display: flex; flex-wrap: wrap; }
  .product-card h3 { font-size: 17px; }
  .product-card .card-actions { flex-direction: row; align-items: stretch; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .preview-bar, .preview-bar span { font-size: 11px; line-height: 1.4; letter-spacing: .03em; }
  .header-main { min-height: 0; }
  .header-actions .icon-button { min-width: 44px; min-height: 44px; padding: 7px; }
  .navigation a { font-size: 15px; min-height: 44px; display: flex; align-items: center; }
  .search input { font-size: 16px; }
  .hero-copy { padding-block: 35px 30px; }
  .hero h1 { font-size: clamp(39px, 11.5vw, 55px); line-height: 1.02; }
  .hero-description { font-size: 15px; line-height: 1.5; }
  .hero .eyebrow, .section-heading .eyebrow, .hero-note { font-size: 12px; }
  .section-heading h2 { font-size: clamp(28px, 8.5vw, 34px); }
  .category-card > div > span { font-size: 11px; letter-spacing: .04em; }
  .category-card h3 { font-size: clamp(18px, 5.5vw, 24px); }
  .category-link { font-size: 12px; line-height: 1.35; }
  .selection-note { font-size: 12px; }
  .filter { font-size: 13px; padding: 10px 13px; }
  .sort-label { font-size: 13px; }
  .sort-label select { font-size: 13px; min-height: 44px; width: min(220px, 64vw); }
  .product-grid { gap: 24px 12px; }
  .product-card h3 { font-size: 15px; line-height: 1.28; }
  .product-size, .product-line, .price-label { font-size: 12px; }
  .price { font-size: 18px; }
  .product-card .card-actions { flex-direction: column; gap: 6px; }
  .product-card .details-button,.product-card .add-button { font-size: 13px; align-self: stretch; min-height: 44px; }
  .catalog-disclaimer { font-size: 12px; }
  .about-copy>p:not(.eyebrow), .questions p { font-size: 14px; line-height: 1.6; }
  .questions summary { font-size: 15px; }
  .footer > div:not(.footer-bottom), .footer-bottom { font-size: 12px; }
  .toast { font-size: 13px; }
  .detail-copy { overflow-wrap: anywhere; }
  .cart-row { min-width: 0; }
  .review-row { white-space: normal; }
}
@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 260px; }
  .category-card img { width: 68%; height: 75%; right: -1%; top: 15%; }
  .category-card.hair img, .category-card.kits img { width: 68%; height: 75%; right: -1%; top: 15%; }
  .product-card .card-actions { flex-direction: row; }
  .product-card .details-button,.product-card .add-button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
