/* ============================================
   OBEH MARKETPLACE - ESTILOS GLOBAIS
   ============================================ */

/* ===== RESET ===== */
:root {
  --bg: #EDE6D6;
  --bg-card: #F7F2E7;
  --ink: #2B2620;
  --ink-soft: #5A5348;
  --clay: #B5502F;
  --clay-dark: #8C3D22;
  --olive: #6E7350;
  --ochre: #C99A3C;
  --line: #D8CBB0;
  --white: #FFFBF3;
  --radius: 4px;
  --shadow: 0 4px 16px rgba(43,38,32,0.08);
  --shadow-hover: 0 8px 30px rgba(43,38,32,0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 230, 214, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.logo img {
  height: 68px;
  width: auto;
}

.sheep-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-mark {
  width: 60px;
  height: 60px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(43,38,32,0.18));
}

.logo-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--clay);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}

.nav-links a:not(.btn):hover {
  color: var(--clay-dark);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--white);
  flex: 1;
  min-width: 160px;
  max-width: 240px;
}

.nav-search input {
  border: none;
  background: none;
  outline: none;
  font-family: 'Work Sans';
  font-size: 13px;
  width: 100%;
  color: var(--ink);
}

.nav-search button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Work Sans';
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-success {
  background: var(--olive);
  border-color: var(--olive);
  color: white;
}

.btn-success:hover {
  background: #5A6040;
  border-color: #5A6040;
}

/* ===== CARRINHO ÍCONE ===== */
.cart-btn {
  position: relative;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  font-size: 22px;
  background: none;
  border: none;
}

#cartCount {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--clay);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
}

/* ===== HERO ===== */
.hero {
  padding: 56px 0 40px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  max-width: 560px;
}

.hero .stitch {
  display: inline-block;
  position: relative;
  padding: 0 4px;
  color: var(--clay);
}

.hero .stitch svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 10px;
}

.hero p.sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 26px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-trust div {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}

.hero-trust strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
}

.hero-art {
  height: 400px;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

/* ===== ABAS CLIENTE / ARTESÃO ===== */
.role-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  border-radius: 999px;
  padding: 6px;
  border: 1px solid var(--line);
  max-width: 380px;
  margin: -10px auto 32px;
}

.role-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 500;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  transition: all 0.2s;
}

.role-tab.active {
  background: var(--clay);
  color: white;
  font-weight: 600;
}

.role-tab:hover:not(.active) {
  background: rgba(181, 80, 47, 0.08);
}

/* ===== CATEGORIAS ===== */
.cat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow-x: auto;
}

.cat-row {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 0 28px;
  margin: 0 auto;
  max-width: 1180px;
}

.chip {
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  padding: 9px 18px;
  border: 1px dashed var(--ink-soft);
  border-radius: 999px;
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.chip:hover,
.chip.active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
  border-style: solid;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ===== SEÇÃO ===== */
.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(26px, 2.8vw, 36px);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 360px;
  margin-top: 6px;
}

.see-all {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  flex-shrink: 0;
}

/* ===== PRODUTOS GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #E9DFC7;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media .placeholder {
  font-size: 48px;
  opacity: 0.5;
}

.card-body {
  padding: 16px 16px 18px;
  border-top: 1px dashed var(--line);
}

.card-cat {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

.card-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 16.5px;
  margin-top: 5px;
  line-height: 1.25;
}

.card-maker {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 3px;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.price {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 15px;
}

.card-add {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  background: transparent;
}

.card-add:hover {
  background: var(--ink);
  color: var(--white);
}

.card-add svg {
  width: 14px;
  height: 14px;
}

/* ===== STEPS ===== */
.steps {
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.steps .intro h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 34px);
}

.steps .intro p {
  color: #C7BFAE;
  font-size: 14px;
  margin-top: 12px;
}

.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 19px;
  margin-top: 10px;
  color: var(--white);
  font-weight: 500;
}

.step p {
  font-size: 13.5px;
  color: #C7BFAE;
  margin-top: 8px;
}

.step-line {
  width: 100%;
  height: 1px;
  background: #494236;
  margin-top: 20px;
}

/* ===== PLANOS ===== */
.sell-cta {
  padding: 8px 0 0;
}

.sell-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.sell-head .label {
  justify-content: center;
  display: flex;
}

.sell-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 10px;
}

.sell-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 15.5px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.plan.reco {
  border-color: var(--clay);
  box-shadow: 0 0 0 1px var(--clay), var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--clay);
  color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan-name {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
}

.plan-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
  min-height: 36px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
}

.plan-price .num {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 600;
}

.plan-price .per {
  font-size: 13px;
  color: var(--ink-soft);
}

.plan-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  align-items: flex-start;
}

.plan-list .check {
  color: var(--olive);
  font-weight: 700;
}

.plan .btn {
  margin-top: 26px;
  justify-content: center;
  width: 100%;
}

.mp-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CARRINHO MODAL ===== */
#cartModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(43, 38, 32, 0.5);
  backdrop-filter: blur(2px);
  padding: 20px;
}

#cartModal .cart-box {
  max-width: 480px;
  width: 100%;
  margin: 40px auto;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  max-height: 80vh;
  overflow-y: auto;
}

#cartModal .cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#cartModal .cart-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
}

#cartModal .close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink-soft);
}

#cartItems {
  min-height: 100px;
}

#cartItems .empty {
  color: var(--ink-soft);
  text-align: center;
  padding: 20px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 500;
}

.cart-item-detail {
  font-size: 13px;
  color: var(--ink-soft);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-actions button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.cart-item-actions button:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.cart-item-actions .remove-item {
  border: none;
  color: var(--clay);
  font-size: 16px;
  background: none;
}

.cart-item-actions .remove-item:hover {
  background: none;
  color: var(--clay-dark);
}

.cart-item-qty {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

#cartTotal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 18px;
}

#cartModal .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* ===== AUTH (LOGIN/CADASTRO) ===== */
.auth-container {
  max-width: 440px;
  margin: 40px auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-container h1 {
  text-align: center;
  margin-bottom: 8px;
}

.auth-container .sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 28px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.social-login {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.social-login .btn {
  flex: 1;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}

.btn-google {
  background: white;
  border-color: #ddd;
  color: #333;
}

.btn-google:hover {
  background: #f1f1f1;
}

.btn-facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.btn-facebook:hover {
  background: #166fe5;
  border-color: #166fe5;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-family: 'Work Sans';
  font-size: 14px;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--clay);
  border-color: var(--clay);
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.auth-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
}

.auth-link {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.auth-link a {
  color: var(--clay);
  font-weight: 600;
}

.auth-link a:hover {
  text-decoration: underline;
}

/* ===== DASHBOARD ===== */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header h1 {
  font-size: 28px;
}

.dashboard-header .user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.stat-card .number {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--clay);
}

.stat-card .label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.badge {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--olive);
  color: white;
}

.badge.free {
  background: var(--ink-soft);
}

.badge.basic {
  background: var(--ochre);
}

.badge.pro {
  background: var(--clay);
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: 'Work Sans';
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--clay);
  color: white;
}

.tab-btn:hover:not(.active) {
  background: rgba(181, 80, 47, 0.08);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== FORMULÁRIOS ===== */
.product-form,
.loja-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.product-form .form-row,
.loja-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== LISTA DE PRODUTOS ===== */
.product-list {
  display: grid;
  gap: 16px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.product-item .info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.product-item .info .thumb {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: #E9DFC7;
  overflow: hidden;
  flex-shrink: 0;
}

.product-item .info .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-item .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-item .actions button {
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s ease;
}

.product-item .actions button:hover {
  background: var(--ink);
  color: var(--white);
}

.product-item .actions .delete {
  color: var(--clay);
  border-color: var(--clay);
}

.product-item .actions .delete:hover {
  background: var(--clay);
  color: white;
}

/* ===== LOJA PÚBLICA ===== */
.loja-banner {
  width: 100%;
  height: 200px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.loja-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loja-banner .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 24px;
  color: var(--ink-soft);
  background: var(--bg-card);
}

.loja-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.loja-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--line);
  flex-shrink: 0;
  background: var(--bg-card);
}

.loja-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loja-info {
  flex: 1;
}

.loja-info h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.loja-info p {
  color: var(--ink-soft);
  font-size: 15px;
}

.loja-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.loja-social a {
  color: var(--ink-soft);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.loja-social a:hover {
  color: var(--clay);
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 34px;
  margin-top: 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.foot-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 21px;
}

.foot-tag {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
  max-width: 220px;
}

.foot-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.foot-col a {
  display: block;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--ink);
  transition: color 0.15s ease;
}

.foot-col a:hover {
  color: var(--clay-dark);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: 260px;
    order: -1;
  }

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

  .steps {
    grid-template-columns: 1fr;
    padding: 40px 26px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }

  .product-form .form-row,
  .loja-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 40;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-search {
    order: 3;
    max-width: none;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-trust {
    gap: 16px;
  }

  .hero-trust strong {
    font-size: 18px;
  }

  .steps {
    padding: 28px 18px;
    gap: 28px;
  }

  .loja-banner {
    height: 120px;
  }

  .loja-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .loja-social {
    justify-content: center;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .social-login {
    flex-direction: column;
  }

  .auth-container {
    margin: 20px auto;
    padding: 24px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .role-tabs {
    max-width: 100%;
  }

  .role-tab {
    font-size: 12px;
    padding: 10px 12px;
  }

  #cartModal .cart-box {
    margin: 20px auto;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .card-title {
    font-size: 14px;
  }

  .price {
    font-size: 13px;
  }

  .nav {
    padding: 10px 0;
  }

  .logo img {
    height: 48px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .logo-wordmark {
    font-size: 21px;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .section {
    padding: 40px 0;
  }
}
