:root {
  --olive: #6F7D53;
  --olive-dark: #4E5B39;
  --olive-soft: #DDE3D3;
  --terracotta: #C97B63;
  --terracotta-dark: #A95E49;
  --beige: #F2E9DC;
  --cream: #FAF7F2;
  --paper: #FFFDFC;
  --ink: #2F2A28;
  --muted: #756D66;
  --line: #DDD4C8;
  --success: #68825D;
  --warning: #BC9151;
  --danger: #A34F45;
  --shadow: 0 18px 50px rgba(47, 42, 40, .10);
  --shadow-sm: 0 10px 24px rgba(47, 42, 40, .08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: var(--shell); margin-inline: auto; }
.is-hidden { display: none !important; }

/* Usabilidade e acessibilidade */
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 200; padding: 12px 18px; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--olive-dark); outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .6; }
.home-search { max-width: 480px; margin: 24px 0; }
.home-search label { display: block; margin-bottom: 8px; font-weight: 600; }
.home-search > div { display: flex; gap: 8px; }
.home-search input { min-width: 0; }
.filters-toggle { display: none; }
.product-card__condition { color: var(--muted); font-size: .82rem; margin: 4px 0 8px; }
#mobileSellBtn { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: .76rem; font-weight: 700; color: var(--olive-dark); }
.display { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; margin: 0; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 14px; }
.section-copy { max-width: 680px; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 18px;
  background: var(--ink);
  color: #fff9f3;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  text-align: center;
}
.announcement__dot { color: var(--terracotta); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 212, 200, .8);
}
.site-header__inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: grid; grid-template-columns: 30px auto; grid-template-areas: "mark word" "mark tag"; align-items: center; column-gap: 8px; min-width: max-content; }
.brand__mark { grid-area: mark; color: var(--olive-dark); display: flex; align-items: center; }
.brand__mark svg { width: 30px; height: 30px; stroke: none; fill: currentColor; }
.brand__text { grid-area: word; font-family: var(--font-display); font-size: 2rem; line-height: .85; color: var(--olive-dark); }
.brand__tagline { grid-area: tag; font-size: .48rem; text-transform: uppercase; letter-spacing: .26em; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 28px; font-size: .88rem; font-weight: 600; }
.main-nav a { position: relative; padding: 9px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--olive); transition: right .22s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; position: relative; }
.icon-button { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 999px; cursor: pointer; }
.icon-button:hover { background: var(--beige); }
.icon-button svg { width: 20px; height: 20px; }
.icon-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--terracotta); color: #fff; display: grid; place-items: center; font-size: .62rem; font-weight: 700; }
.button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .86rem; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--olive); color: #fff; }
.button--primary:hover { background: var(--olive-dark); }
.button--secondary { background: var(--terracotta); color: #fff; }
.button--secondary:hover { background: var(--terracotta-dark); }
.button--ghost { background: transparent; border-color: var(--line); }
.button--ghost:hover { border-color: var(--olive); color: var(--olive-dark); }
.button--soft { background: var(--beige); color: var(--ink); }
.button--danger { background: #f7e8e5; color: var(--danger); border-color: #e8c7c1; }
.button--block { width: 100%; }
.account-button { min-height: 48px; padding: 4px 12px 4px 5px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; display: flex; align-items: center; gap: 9px; cursor: pointer; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.account-button:hover { border-color: rgba(111,125,83,.55); box-shadow: 0 8px 22px rgba(47,42,40,.08); transform: translateY(-1px); }
.account-button__copy { display: grid; text-align: left; line-height: 1.05; gap: 3px; min-width: 0; }
.account-button__copy strong { font-size: .76rem; font-weight: 800; white-space: nowrap; }
.account-button__copy small { max-width: 130px; color: var(--muted); font-size: .62rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-button svg { width: 15px; flex: 0 0 auto; transition: transform .2s ease; }
.account-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: #fff; font-weight: 800; letter-spacing: .04em; flex: 0 0 auto; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 35px; height: 35px; font-size: .68rem; }
.avatar--lg { width: 84px; height: 84px; font-family: var(--font-display); font-size: 1.45rem; }
.account-menu { position: absolute; right: 0; top: 56px; min-width: 190px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 8px; border-radius: 15px; }
.account-menu button { width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.account-menu button:hover { background: var(--beige); }
.mobile-nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; }
.mobile-nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(118deg, #f9f4ec 0%, #f7efe3 56%, #e7dfd2 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(111,125,83,.08); right: -90px; top: -80px; }
.hero__inner { min-height: 650px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; padding-block: 64px; }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(3.4rem, 7vw, 6.7rem); max-width: 750px; color: var(--olive-dark); }
.hero__title em { font-weight: 500; color: var(--terracotta-dark); }
.hero__copy { max-width: 630px; margin: 22px 0 28px; color: #665f58; font-size: 1.04rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__meta div { display: grid; gap: 2px; }
.hero__meta strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--olive-dark); }
.hero__meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-art { position: relative; min-height: 520px; }
.hero-art__panel { position: absolute; inset: 0; border-radius: 180px 180px 34px 34px; overflow: hidden; background: linear-gradient(145deg, #a88f72, #5c533f); box-shadow: var(--shadow); }
.hero-art__panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-art__quote { position: absolute; left: -35px; bottom: 50px; width: 250px; padding: 20px 22px; background: rgba(255,253,252,.93); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); border-radius: 20px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; transform: rotate(-2deg); }
.hero-art__badge { position: absolute; right: -18px; top: 52px; width: 124px; height: 124px; border-radius: 50%; background: var(--olive-dark); color: #fff; display: grid; place-items: center; text-align: center; padding: 18px; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; border: 5px solid rgba(255,255,255,.45); }

.section { padding: 88px 0; }
.section--tight { padding: 58px 0; }
.section--paper { background: var(--paper); }
.section--olive { background: var(--olive-dark); color: #fff; }
.section--beige { background: var(--beige); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head__copy { max-width: 650px; }
.section-head .section-title { font-size: clamp(2.3rem, 5vw, 4rem); }
.text-link { color: var(--olive-dark); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,253,252,.65); }
.value-card__icon { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: var(--olive); }
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h3 { font-family: var(--font-display); font-size: 1.42rem; margin: 0 0 8px; }
.value-card p { color: var(--muted); font-size: .88rem; margin: 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; min-width: 0; }
.product-card__media { position: relative; aspect-ratio: .78; background: #e9e1d5; border-radius: 18px; overflow: hidden; cursor: pointer; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__favorite { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,253,252,.9); display: grid; place-items: center; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,.08); }
.product-card__favorite.is-active { color: var(--terracotta-dark); }
.product-card__favorite.is-active svg { fill: currentColor; }
.product-card__badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: rgba(47,42,40,.84); color: #fff; }
.product-card__badge--reserved { background: rgba(188,145,81,.92); }
.product-card__badge--sold { background: rgba(163,79,69,.92); }
.product-card__body { padding: 14px 2px 0; }
.product-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.product-card h3 { font-size: .96rem; margin: 0 0 5px; font-weight: 600; }
.product-card__price { font-family: var(--font-display); font-size: 1.32rem; color: var(--olive-dark); }
.product-card__seller { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--muted); font-size: .75rem; cursor: pointer; }
.product-card__seller:hover { color: var(--olive-dark); }

.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store-card { position: relative; min-height: 290px; border-radius: var(--radius-lg); overflow: hidden; background: var(--olive-dark); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-sm); }
.store-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25,29,20,.87), rgba(25,29,20,.05)); }
.store-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.store-card__content { position: relative; z-index: 2; }
.store-card h3 { font-family: var(--font-display); font-size: 2rem; margin: 9px 0 4px; }
.store-card p { margin: 0 0 15px; color: rgba(255,255,255,.82); font-size: .84rem; }
.store-card__meta { display: flex; gap: 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.editorial-banner { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 460px; border-radius: 30px; overflow: hidden; background: var(--olive-dark); color: #fff; }
.editorial-banner__media { min-height: 420px; background: #8d846d; }
.editorial-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-banner__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 7vw, 80px); position: relative; }
.editorial-banner__content::after { content: ""; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; position: absolute; right: -50px; bottom: -50px; }
.editorial-banner__content h2 { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.02; margin: 8px 0 20px; max-width: 620px; }
.editorial-banner__content p { color: rgba(255,255,255,.82); max-width: 560px; }

.page-hero { padding: 58px 0 34px; background: linear-gradient(180deg, #f6eee2, var(--cream)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.8rem); margin: 0 0 14px; line-height: 1; color: var(--olive-dark); }
.page-hero p { max-width: 690px; color: var(--muted); margin: 0; }

.explore-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: 116px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.filters h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 18px; }
.filter-group { border-top: 1px solid var(--line); padding: 16px 0; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 7px; }
.field, .select, .textarea { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; padding: 12px 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus, .select:focus, .textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(111,125,83,.12); }
.textarea { resize: vertical; min-height: 110px; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-flex; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; background: var(--paper); }
.check-chip input:checked + span { background: var(--olive); color: #fff; border-color: var(--olive); }
.explore-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.search-box { flex: 1; max-width: 560px; position: relative; }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.search-box input { padding-left: 42px; }
.explore-toolbar .select { width: auto; min-width: 175px; }
.result-count { font-size: .78rem; color: var(--muted); margin-bottom: 18px; }

.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; padding-block: 54px 82px; }
.product-gallery { display: grid; grid-template-columns: 86px 1fr; gap: 14px; }
.product-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.product-gallery__thumb { border: 1px solid transparent; background: transparent; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.product-gallery__thumb.is-active { border-color: var(--olive); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__main { border-radius: 24px; overflow: hidden; background: #e9e1d5; aspect-ratio: .82; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 124px; }
.product-info__kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.product-info h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.03; margin: 9px 0 6px; }
.product-price { font-family: var(--font-display); font-size: 2rem; color: var(--olive-dark); margin-bottom: 18px; }
.product-info__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 20px 0; }
.product-info__actions .icon-button { width: 48px; height: 48px; border: 1px solid var(--line); background: var(--paper); }
.info-list { border-top: 1px solid var(--line); margin-top: 24px; }
.info-list__row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.info-list__row strong { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.seller-box { margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); display: flex; gap: 14px; align-items: center; }
.seller-box__body { flex: 1; }
.seller-box h3 { margin: 0; font-family: var(--font-display); font-size: 1.4rem; }
.seller-box p { margin: 2px 0 0; color: var(--muted); font-size: .76rem; }

.store-hero { position: relative; background: var(--olive-dark); color: #fff; overflow: hidden; }
.store-hero__cover { position: absolute; inset: 0; opacity: .28; }
.store-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.store-hero__overlay { position: relative; min-height: 360px; display: flex; align-items: end; padding: 50px 0; background: linear-gradient(to top, rgba(38,43,29,.85), rgba(38,43,29,.1)); }
.store-profile { display: flex; gap: 20px; align-items: center; }
.store-profile h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; margin: 0 0 8px; }
.store-profile p { margin: 0; max-width: 620px; color: rgba(255,255,255,.78); }
.store-profile__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.72); }
.store-actions { margin-left: auto; display: flex; gap: 10px; }

.dashboard { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 50px 0 90px; }
.dashboard-nav { position: sticky; top: 116px; align-self: start; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 10px; }
.dashboard-nav__profile { padding: 14px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.dashboard-nav__profile strong { display: block; font-size: .85rem; }
.dashboard-nav__profile span { color: var(--muted); font-size: .68rem; }
.dashboard-nav button { width: 100%; border: 0; background: transparent; text-align: left; padding: 11px 12px; border-radius: 9px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-size: .82rem; }
.dashboard-nav button:hover, .dashboard-nav button.is-active { background: var(--beige); color: var(--olive-dark); font-weight: 700; }
.dashboard-content h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 8px; }
.dashboard-content > p { margin-top: 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 30px; }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--olive-dark); }
.stat-card span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-top: 18px; }
.panel h2 { font-family: var(--font-display); margin: 0 0 16px; font-size: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.form-help { font-size: .7rem; color: var(--muted); }
.upload-area { border: 1px dashed #b7ac9e; background: #fbf7f1; border-radius: 14px; padding: 28px; text-align: center; cursor: pointer; }
.upload-area:hover { border-color: var(--olive); }
.image-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.image-preview { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--beige); }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview button { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(47,42,40,.8); color: #fff; cursor: pointer; }
.data-list { display: grid; gap: 10px; }
.data-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.data-row__thumb { width: 70px; height: 70px; border-radius: 10px; overflow: hidden; background: var(--beige); }
.data-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.data-row h3 { margin: 0 0 3px; font-size: .88rem; }
.data-row p { margin: 0; font-size: .72rem; color: var(--muted); }
.data-row__actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.mini-button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 10px; font-size: .7rem; font-weight: 700; cursor: pointer; }
.mini-button:hover { border-color: var(--olive); color: var(--olive-dark); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.step-card { counter-increment: steps; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; position: relative; overflow: hidden; }
.step-card::before { content: "0" counter(steps); font-family: var(--font-display); font-size: 4rem; color: rgba(111,125,83,.12); position: absolute; right: 14px; top: 0; }
.step-card h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 32px 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: .86rem; }

.empty-state { text-align: center; padding: 58px 20px; border: 1px dashed var(--line); border-radius: 18px; background: rgba(255,253,252,.6); }
.empty-state__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--beige); color: var(--olive-dark); }
.empty-state h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 7px; }
.empty-state p { color: var(--muted); margin: 0 auto 18px; max-width: 480px; }

.site-footer { background: var(--ink); color: #f8f0e7; padding: 56px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.brand--footer .brand__text, .brand--footer .brand__mark { color: #f8f0e7; }
.footer-copy { max-width: 340px; color: #cfc5ba; font-size: .84rem; }
.site-footer h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 14px; color: #fff; }
.site-footer a, .footer-link { display: block; color: #cfc5ba; margin: 8px 0; font-size: .82rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.site-footer a:hover, .footer-link:hover { color: #fff; }
.site-footer p { color: #cfc5ba; font-size: .82rem; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: #9f958d; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }

.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(35,31,29,.52); backdrop-filter: blur(6px); }
.modal { position: fixed; z-index: 100; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 36px); overflow: auto; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.28); padding: 28px; }
.modal--wide { width: min(760px, calc(100% - 28px)); }
.modal__close { position: sticky; top: 0; float: right; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.35rem; cursor: pointer; z-index: 2; }
.modal h2 { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.05; margin: 0 0 8px; }
.modal-subtitle { color: var(--muted); margin: 0 0 22px; }
.auth-switch { margin-top: 16px; font-size: .78rem; color: var(--muted); text-align: center; }
.auth-switch button { border: 0; background: transparent; color: var(--olive-dark); font-weight: 700; cursor: pointer; }
.demo-accounts { margin-top: 20px; padding: 14px; background: var(--beige); border-radius: 12px; font-size: .72rem; }
.demo-accounts strong { display: block; margin-bottom: 5px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.toast-stack { position: fixed; z-index: 120; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(360px, calc(100% - 36px)); }
.toast { padding: 13px 15px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); font-size: .8rem; animation: toast-in .22s ease both; }
.toast--success { background: var(--olive-dark); }
.toast--error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1040px) {
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .mobile-nav-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 80px; display: none; flex-direction: column; align-items: stretch; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 18px; padding: 14px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .main-nav a::after { display: none; }
  .header-actions { justify-self: end; }
  .header-login, #sellBtn { display: none; }
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-art { min-height: 470px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .dashboard { grid-template-columns: 210px 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .announcement { font-size: .58rem; }
  .announcement span:nth-child(3) { display: none; }
  .site-header__inner { min-height: 70px; grid-template-columns: auto 1fr auto; gap: 8px; }
  .brand__text { font-size: 1.7rem; }
  .brand__tagline { display: none; }
  .brand__mark { display: none; }
  .header-actions .icon-button:first-child { display: none; }
  .account-button__copy { display: none; }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; padding-block: 48px 60px; }
  .hero__title { font-size: clamp(3rem, 16vw, 5.4rem); }
  .hero-art { min-height: 390px; order: -1; }
  .hero-art__quote { left: 10px; bottom: 28px; width: 220px; }
  .hero-art__badge { right: 5px; top: 30px; width: 105px; height: 105px; font-size: .62rem; }
  .section { padding: 64px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .store-grid { grid-template-columns: 1fr; }
  .editorial-banner { grid-template-columns: 1fr; }
  .editorial-banner__media { min-height: 300px; }
  .explore-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .explore-toolbar { flex-wrap: wrap; }
  .explore-toolbar .select { width: 100%; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .product-info { position: static; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery__thumbs { order: 2; flex-direction: row; }
  .product-gallery__thumb { width: 72px; }
  .store-profile { align-items: flex-start; flex-direction: column; }
  .store-actions { margin-left: 0; }
  .dashboard { grid-template-columns: 1fr; padding-top: 24px; }
  .dashboard-nav { position: static; display: flex; gap: 5px; overflow-x: auto; padding: 7px; }
  .dashboard-nav__profile { display: none; }
  .dashboard-nav button { width: auto; min-width: max-content; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-header__inner { gap: 2px; }
  .header-actions { gap: 1px; }
  #favoritesBtn { display: none; }
  .hero-art { min-height: 325px; }
  .hero-art__panel { border-radius: 110px 110px 26px 26px; }
  .hero__meta { gap: 16px; }
  .hero__meta strong { font-size: 1.35rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .product-card__body { padding-top: 10px; }
  .product-card__meta { font-size: .61rem; }
  .product-card h3 { font-size: .8rem; }
  .product-card__price { font-size: 1.12rem; }
  .product-card__seller { display: none; }
  .value-grid, .steps { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 3.2rem; }
  .info-list__row { grid-template-columns: 1fr; gap: 4px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .data-row { grid-template-columns: 56px 1fr; }
  .data-row__thumb { width: 56px; height: 56px; }
  .data-row__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .image-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 22px; }
}

/* Ajustes responsivos: ações essenciais permanecem acessíveis. */
.product-card__meta, .product-card__seller, .form-help, .form-group label,
.filter-group label, .data-row p, .result-count { font-size: .82rem; }
.hero__inner { min-height: auto; padding-block: 40px; }
.hero-art { min-height: 380px; }
@media (max-width: 1040px) {
  .header-login { display: inline-flex; }
  #mobileSellBtn { display: block; padding: 10px 12px; color: var(--olive-dark); font-weight: 700; }
}
@media (max-width: 780px) {
  .hero-art { display: none; }
  .hero__inner { padding-block: 32px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .filters-toggle { display: flex; width: 100%; justify-content: space-between; }
  .filters #filterFields { display: none; margin-top: 20px; }
  .filters.is-open #filterFields { display: block; }
  .header-actions .icon-button:first-child { display: inline-flex; }
  .main-nav.is-open { max-height: calc(100dvh - 110px); overflow-y: auto; }
  .product-card__seller { display: inline-flex; }
  .form-help { font-size: .85rem; }
}
@media (max-width: 520px) {
  #favoritesBtn { display: inline-flex; }
  .header-login { padding: 8px; font-size: .8rem; }
  .header-actions .icon-button { width: 34px; height: 40px; }
  .brand__text { font-size: 1.4rem; }
  .product-card__meta { font-size: .75rem; flex-wrap: wrap; }
  .product-card__seller { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
