@import url("https://fonts.googleapis.com/css2?family=DM+Mono&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap");
.admin-body {
  background: #f2f3ed;
}
.admin-header {
  height: 67px;
  background: var(--ink);
  color: white;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.admin-header > span {
  font-size: 12px;
  color: #b8c2b5;
  border-left: 1px solid #ffffff33;
  padding-left: 24px;
}
.admin-header .button {
  margin-left: auto;
  padding: 9px 13px;
  color: white;
  border-color: #ffffff55;
}
.admin-page {
  max-width: 900px;
  margin: auto;
  padding: 60px 24px 90px;
}
.admin-intro h1 {
  font-size: 44px;
  margin-bottom: 10px;
}
.product-form {
  margin-top: 35px;
}
.product-form section {
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  margin-bottom: 15px;
}
.product-form h2 {
  font-size: 16px;
  margin: 0 0 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .wide {
  grid-column: span 2;
}
.product-form label {
  font-size: 11px;
  font-weight: 700;
  color: #566157;
}
.product-form textarea {
  resize: vertical;
}
.upload-zone {
  height: 190px;
  border: 1px dashed #a8b3a3;
  border-radius: 9px;
  display: grid !important;
  place-items: center;
  cursor: pointer;
}
.upload-zone input {
  display: none;
}
.upload-zone span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 28px;
  color: #74866d;
}
.upload-zone span b {
  font-size: 13px;
  color: var(--ink);
  margin-top: 5px;
}
.upload-zone span small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
#preview-imagem {
  display: none;
  max-height: 175px;
  max-width: 90%;
  object-fit: contain;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 25px 0 65px;
}
.registered {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.registered-list article {
  background: #fffefa;
  border: 1px solid var(--line);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 9px;
  margin-bottom: 8px;
}
.registered-list article > img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}
.registered-list article div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.registered-list article span {
  font-size: 11px;
  color: var(--muted);
}
.registered-list article strong {
  font-size: 12px;
}
.row-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 6px;
}
.row-actions a,
.row-actions button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.row-actions button:last-child {
  color: #bc4738;
}
@media (max-width: 1024px) {
  .header {
    height: 66px;
    gap: 12px;
  }
  .menu-toggle {
    display: block;
    order: 1;
  }
  .brand {
    font-size: 22px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 17px 24px;
    box-shadow: 0 10px 15px #00000012;
    flex-direction: column;
    gap: 15px;
  }
  .nav.open {
    display: flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .icon-button {
    width: 32px;
    font-size: 18px;
  }
  .header-actions .icon-button:nth-child(2) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
    gap: 28px;
    min-height: auto;
  }
  .hero-art {
    height: 310px;
    width: 92%;
    margin: auto;
  }
  .product-orb {
    width: 225px;
    height: 225px;
  }
  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-image {
    height: 190px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 50px 24px;
  }
  .newsletter {
    margin: 0 24px 55px;
    padding: 30px 24px;
    display: block;
  }
  .newsletter-form {
    margin-top: 22px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main > div:first-child {
    grid-column: span 2;
  }
  .catalog-page,
  .detail-page {
    padding-top: 40px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 13px;
  }
  .filter-title {
    grid-column: span 2;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .main-product-image {
    height: 365px;
  }
  .detail-copy {
    padding: 0;
  }
  .product-info {
    margin-top: 55px;
  }
  .tab-content dl {
    grid-template-columns: 1fr;
  }
  .admin-page {
    padding-top: 43px;
  }
  .admin-intro h1 {
    font-size: 36px;
  }
  .admin-header > span {
    display: none;
  }
}
@media (max-width: 460px) {
  .header-actions .icon-button:first-child {
    display: none;
  }
  .hero-art {
    height: 270px;
  }
  .product-orb {
    width: 200px;
    height: 200px;
  }
  .category-grid {
    gap: 8px;
  }
  .category-card {
    padding: 12px;
    min-height: 100px;
  }
  .product-image {
    height: 165px;
  }
  .newsletter-form {
    display: block;
    background: transparent;
    padding: 0;
  }
  .newsletter-form input {
    background: white;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .newsletter .button {
    width: 100%;
  }
  .detail-actions {
    flex-wrap: wrap;
  }
  .detail-actions .button {
    width: calc(100% - 58px);
    flex: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: span 1;
  }
  .product-form section {
    padding: 18px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions .button {
    flex: 1;
  }
  .registered-list article strong {
    display: none;
  }
}
.catalog-page,
.detail-page {
  max-width: 1280px;
  margin: auto;
  padding: 60px max(5vw, 24px) 90px;
}
.page-intro {
  text-align: center;
  margin: 10px auto 48px;
}
.page-intro h1 {
  font-size: 48px;
  margin: auto;
}
.page-intro > p:last-child,
.admin-intro > p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 45px;
}
.filters {
  border-top: 1px solid var(--line);
}
.filter-title {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
}
.filter-title button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 11px;
}
.filters label,
.catalog-top label {
  display: block;
  color: #596259;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 20px;
}
.filters input,
.filters select,
.catalog-top select,
.product-form input,
.product-form select,
.product-form textarea {
  display: block;
  margin-top: 8px;
  width: 100%;
  border: 1px solid #d9ddd4;
  border-radius: 7px;
  background: #fffefa;
  outline: 0;
  padding: 12px;
  font-size: 12px;
  color: var(--ink);
}
.catalog-top {
  height: 52px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.catalog-top p {
  font-size: 12px;
  color: var(--muted);
}
.catalog-top label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.catalog-top select {
  display: inline-block;
  margin: 0;
  width: auto;
  padding: 8px;
}
.empty {
  color: var(--muted);
  padding: 20px 0;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 29px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.main-product-image {
  height: 500px;
  background: #e7e5de;
  border-radius: 16px;
  overflow: hidden;
}
.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumbnails button {
  border: 1px solid transparent;
  padding: 0;
  width: 70px;
  height: 70px;
  background: #e7e5de;
  border-radius: 7px;
  overflow: hidden;
}
.thumbnails button.active {
  border-color: var(--ink);
}
.thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy {
  padding: 25px 0;
}
.detail-copy h1 {
  font-size: 42px;
  letter-spacing: -2px;
  margin: 6px 0 12px;
}
.detail-rating {
  display: flex;
  gap: 9px;
  font-size: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.detail-rating > span:last-child {
  color: var(--muted);
}
.detail-price {
  font-size: 30px;
  font-weight: 800;
  margin: 7px 0 20px;
}
.detail-price small {
  font: 10px DM Mono;
  background: var(--lime);
  padding: 6px;
  margin-left: 9px;
  vertical-align: middle;
}
.detail-description {
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
}
.availability {
  font-size: 12px;
  font-weight: 700;
  margin: 22px 0;
}
.availability span {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: #6d9b60;
  border-radius: 50%;
  margin-right: 7px;
}
.detail-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.detail-actions .button {
  flex: 1;
}
.favorite.big {
  border: 1px solid #bbc1b8;
  width: 48px;
  height: 48px;
}
.secure {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.product-info {
  max-width: 900px;
  margin: 90px auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.info-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.info-tabs button {
  border: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--muted);
  font-size: 12px;
}
.info-tabs button.active {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
}
.tab-content {
  display: none;
  padding: 28px 0;
  line-height: 1.8;
  color: var(--muted);
  max-width: 760px;
}
.tab-content.active {
  display: block;
}
.tab-content h3 {
  color: var(--ink);
  font-size: 16px;
}
.tab-content dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 35px;
}
.tab-content dl div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.tab-content dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.related {
  padding-left: 0;
  padding-right: 0;
}
.search-overlay {
  position: fixed;
  inset: 0;
  background: #1b271ee8;
  z-index: 50;
  display: none;
  padding: 12vh 20px;
}
.search-overlay.open {
  display: block;
}
.search-overlay > div {
  max-width: 630px;
  margin: auto;
  position: relative;
}
.search-overlay label {
  color: #dce7d4;
  font: 11px DM Mono;
  letter-spacing: 1px;
}
.search-overlay input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dce7d4;
  color: white;
  outline: 0;
  font-size: 32px;
  padding: 15px 0;
}
.search-overlay input::placeholder {
  color: #b6beb4;
}
.close-search {
  position: absolute;
  right: 0;
  top: -45px;
  background: transparent;
  border: 0;
  color: white;
  font-size: 32px;
}
.search-overlay #resultado-busca {
  margin-top: 20px;
}
.search-overlay #resultado-busca a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  padding: 8px;
  border-bottom: 1px solid #ffffff21;
}
.search-overlay #resultado-busca img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
}
.search-overlay #resultado-busca b {
  margin-left: auto;
}
.search-overlay #resultado-busca p {
  color: white;
}
.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #1d2b20;
  color: white;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 22px #0003;
  font-size: 12px;
  animation: toast 0.25s ease-out;
}
@keyframes toast {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
:root {
  --ink: #17221c;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --sage: #dce7d4;
  --lime: #cbe57a;
  --coral: #ee745c;
  --muted: #6d746e;
  --line: #e6e5df;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    14px Manrope,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.header {
  height: 76px;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  gap: 38px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f7f5efdd;
  backdrop-filter: blur(12px);
  transition: 0.25s;
}
.header.scrolled {
  box-shadow: 0 3px 18px #1d28120b;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.brand span {
  color: var(--coral);
}
.nav {
  display: flex;
  gap: 26px;
  margin: auto;
}
.nav a {
  font-size: 13px;
  color: var(--muted);
  transition: 0.2s;
}
.nav a:hover,
.nav a.active {
  color: var(--ink);
  font-weight: 700;
}
.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-button,
.favorite {
  border: 0;
  background: transparent;
  width: 38px;
  height: 38px;
  font-size: 21px;
  position: relative;
  border-radius: 50%;
  transition: 0.2s;
}
.icon-button:hover,
.favorite:hover {
  background: #e9e7df;
}
.cart-count {
  position: absolute;
  background: var(--coral);
  color: white;
  border-radius: 20px;
  font: 10px DM Mono;
  padding: 2px 5px;
  top: 1px;
  right: 0;
  font-style: normal;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
}
.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  max-width: 1280px;
  margin: auto;
  padding: 65px max(5vw, 24px);
  gap: 50px;
}
.eyebrow {
  font:
    11px DM Mono,
    monospace;
  letter-spacing: 1.3px;
  color: #63705e;
  margin: 0 0 14px;
}
.hero h1,
.page-intro h1,
.admin-intro h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.06;
  letter-spacing: -3.5px;
  margin: 0 0 20px;
  max-width: 650px;
}
.hero h1 em {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  max-width: 450px;
  font-size: 16px;
  margin-bottom: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 8px;
  padding: 14px 21px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13px;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-light {
  background: white;
  color: var(--ink);
}
.button-outline {
  border-color: #bbc1b8;
  background: transparent;
}
.button-ghost {
  background: transparent;
}
.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 48px;
}
.hero-stats div + div {
  border-left: 1px solid #cfd2ca;
  padding-left: 35px;
}
.hero-stats strong {
  font-size: 18px;
  display: block;
}
.hero-stats small {
  color: var(--muted);
  font-size: 11px;
}
.hero-art {
  height: 450px;
  background: var(--sage);
  border-radius: 50% 50% 15% 15%;
  position: relative;
  overflow: visible;
}
.product-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #f5c767;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.product-orb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 22px 10px #57441c45);
}
.orb {
  position: absolute;
  border-radius: 50%;
  background: #efc3ac;
  width: 70px;
  height: 70px;
  top: 58px;
  left: 52px;
}
.float-card {
  position: absolute;
  padding: 13px 16px;
  background: #fffefb;
  border-radius: 10px;
  box-shadow: 0 12px 30px #24331d20;
  font-size: 12px;
  font-weight: 700;
}
.card-one {
  bottom: 60px;
  left: -20px;
}
.card-two {
  right: -25px;
  top: 76px;
}
.card-two b {
  color: var(--coral);
  padding-left: 8px;
}
.section {
  max-width: 1280px;
  margin: auto;
  padding: 85px max(5vw, 24px);
}
.featured {
  background: #fffefa;
  max-width: none;
  padding-left: max(5vw, 24px);
  padding-right: max(5vw, 24px);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-heading h2,
.newsletter h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -1.8px;
  margin: 0;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.text-link span {
  margin-left: 8px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}
.category-card {
  min-height: 145px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px #1b2b1b12;
  border-color: var(--sage);
}
.category-card span {
  font-size: 29px;
  color: #6e805e;
  flex: 1;
}
.category-card b {
  font-size: 13px;
}
.category-card i {
  font-style: normal;
  align-self: end;
  margin-top: -18px;
  font-size: 19px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  min-width: 0;
}
.product-image {
  height: 255px;
  background: #e8e6df;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral);
  color: white;
  font: 10px DM Mono;
  padding: 5px 7px;
  border-radius: 4px;
}
.product-image .favorite {
  position: absolute;
  right: 9px;
  top: 8px;
  background: #ffffffe6;
  font-size: 22px;
}
.favorite.is-favorite {
  color: var(--coral);
}
.product-copy {
  padding: 13px 3px;
}
.product-category {
  font: 10px DM Mono;
  text-transform: uppercase;
  color: #71806d;
  margin: 0 0 7px;
}
.product-copy h3 {
  font-size: 14px;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.rating {
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #4b514d;
}
.stars {
  color: #e3ae36;
  letter-spacing: 1px;
  font-size: 12px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
}
.price del,
.detail-copy > del {
  font-size: 11px;
  color: #929792;
}
.price strong {
  font-size: 16px;
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.details-link {
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid;
}
.buy-button {
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 11px;
}
.benefits {
  max-width: 1110px;
  padding: 76px 24px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.benefits > div {
  border-left: 1px solid #d7d8d1;
  padding-left: 20px;
}
.benefits span {
  font-size: 25px;
  color: #749063;
}
.benefits h3 {
  margin: 12px 0 6px;
  font-size: 15px;
}
.benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.newsletter {
  max-width: 1180px;
  margin: 10px auto 80px;
  background: var(--lime);
  padding: 48px 55px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.newsletter h2 {
  max-width: 500px;
}
.newsletter-form {
  display: flex;
  background: #fffefa;
  border-radius: 8px;
  padding: 5px;
  width: min(390px, 100%);
}
.newsletter-form input {
  border: 0;
  outline: 0;
  min-width: 0;
  padding: 10px;
  background: transparent;
  flex: 1;
}
.newsletter .button {
  padding: 12px 15px;
}
footer {
  background: #1c2920;
  color: #e5ece1;
  padding: 45px max(5vw, 24px) 20px;
}
.footer-main {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px;
}
.footer-main p {
  font-size: 12px;
  line-height: 1.7;
  color: #b9c3b8;
  max-width: 260px;
}
.footer-main h4 {
  font-size: 12px;
  margin: 4px 0 13px;
}
.footer-main a:not(.brand) {
  display: block;
  color: #b9c3b8;
  font-size: 12px;
  margin: 9px 0;
}
.socials {
  font-size: 20px !important;
}
.footer-bottom {
  max-width: 1180px;
  margin: 35px auto 0;
  padding-top: 18px;
  border-top: 1px solid #ffffff22;
  color: #aab4a9;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}

/* O CSS base é declarado após alguns blocos de página; estas regras ficam no
   final para preservar a prioridade correta do menu em telas menores. */
@media (max-width: 1024px) {
  .header {
    position: sticky;
    isolation: isolate;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    /* Ações ficam agrupadas à direita: busca, sacola e menu. */
    order: 2;
    width: 38px;
    height: 38px;
    margin-left: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    line-height: 1;
  }

  .header-actions {
    order: 1;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 30;
    margin: 0;
    padding: 10px;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 35px #17221c24;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
  }

  .nav a {
    padding: 13px 14px;
    border-radius: 7px;
  }

  .nav a:hover,
  .nav a.active {
    background: var(--sage);
  }

  body {
    overflow-x: hidden;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-art {
    width: min(92%, 520px);
    height: 310px;
    margin: 0 auto;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-page,
  .detail-page {
    width: 100%;
    max-width: 100%;
    padding-top: 40px;
  }

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .catalog-results {
    min-width: 0;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 13px;
  }

  .filter-title {
    grid-column: 1 / -1;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .main-product-image {
    height: min(65vw, 460px);
  }
}

@media (max-width: 600px) {
  .header {
    padding-inline: 16px;
  }

  .header-actions .icon-button:nth-child(2) {
    display: none;
  }

  .hero,
  .section,
  .catalog-page,
  .detail-page {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: -2.4px;
  }

  .hero-art {
    height: 270px;
  }

  .product-orb {
    width: 200px;
    height: 200px;
  }

  .category-grid {
    gap: 8px;
  }

  .category-card {
    min-height: 100px;
    padding: 12px;
  }

  .product-image {
    height: 175px;
  }

  .catalog-top {
    height: auto;
    padding: 13px 0;
    align-items: flex-start;
    gap: 10px;
  }

  .catalog-top label {
    display: block;
  }

  .catalog-top select {
    display: block;
    max-width: 145px;
    margin-top: 5px;
  }

  .detail-copy h1 {
    font-size: 34px;
  }
}

@media (max-width: 380px) {
  .products-grid,
  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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