/* Envio Imediato Marketplace UI 6.0 */
:root {
  --market-yellow: #7E2629;
  --market-yellow-strong: #6B1D20;
  --market-blue: #6B1D20;
  --market-blue-dark: #6B1D20;
  --market-green: #00a650;
  --market-orange: #f59b23;
  --market-red: #d9304f;
  --market-ink: #252a34;
  --market-muted: #6b7280;
  --market-bg: #f5f5f5;
  --market-surface: #ffffff;
  --market-border: #e4e7eb;
  --market-soft-blue: #eaf2ff;
  --market-soft-yellow: #fff9d8;
  --market-radius-sm: 8px;
  --market-radius: 14px;
  --market-radius-lg: 20px;
  --market-shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 3px 12px rgba(0,0,0,.04);
  --market-shadow: 0 8px 26px rgba(0,0,0,.08);
  --market-shadow-lg: 0 18px 50px rgba(0,0,0,.12);
  --market-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html { box-sizing: border-box; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body.ppb-site, body.ppb-admin-ui {
  margin: 0 !important;
  min-width: 0;
  background: var(--market-bg) !important;
  color: var(--market-ink);
  font-family: var(--market-font) !important;
  font-size: 14px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.ppb-site img, body.ppb-admin-ui img { max-width: 100%; height: auto; }
body.ppb-site a, body.ppb-admin-ui a { color: var(--market-blue); text-decoration: none; }
body.ppb-site a:hover, body.ppb-admin-ui a:hover { color: var(--market-blue-dark); }
body.ppb-site table, body.ppb-admin-ui table { max-width: 100%; }
body.ppb-site td, body.ppb-site th, body.ppb-admin-ui td, body.ppb-admin-ui th,
body.ppb-site input, body.ppb-site textarea, body.ppb-site select, body.ppb-site button,
body.ppb-admin-ui input, body.ppb-admin-ui textarea, body.ppb-admin-ui select, body.ppb-admin-ui button {
  font-family: var(--market-font) !important;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ppb-skip-link { position: fixed; top: 10px; left: 10px; z-index: 10000; padding: 10px 14px; border-radius: 8px; background: #111827; color: #fff !important; transform: translateY(-160%); transition: transform .2s ease; }
.ppb-skip-link:focus { transform: translateY(0); }

/* Formulários globais */
body.ppb-site input[type="text"], body.ppb-site input[type="email"], body.ppb-site input[type="password"], body.ppb-site input[type="number"], body.ppb-site input[type="search"], body.ppb-site input[type="url"], body.ppb-site input[type="tel"], body.ppb-site select, body.ppb-site textarea,
body.ppb-admin-ui input[type="text"], body.ppb-admin-ui input[type="email"], body.ppb-admin-ui input[type="password"], body.ppb-admin-ui input[type="number"], body.ppb-admin-ui input[type="search"], body.ppb-admin-ui input[type="url"], body.ppb-admin-ui input[type="tel"], body.ppb-admin-ui select, body.ppb-admin-ui textarea {
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8dde3 !important;
  border-radius: 9px;
  background: #fff;
  color: var(--market-ink);
  font-size: 14px !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.02);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
body.ppb-site textarea, body.ppb-admin-ui textarea { min-height: 120px; resize: vertical; }
body.ppb-site input:focus, body.ppb-site select:focus, body.ppb-site textarea:focus,
body.ppb-admin-ui input:focus, body.ppb-admin-ui select:focus, body.ppb-admin-ui textarea:focus {
  outline: none;
  border-color: var(--market-blue) !important;
  box-shadow: 0 0 0 3px rgba(52,131,250,.16);
}
body.ppb-site input[type="submit"], body.ppb-site input[type="button"], body.ppb-site button,
body.ppb-admin-ui input[type="submit"], body.ppb-admin-ui input[type="button"], body.ppb-admin-ui button,
.market-btn, .ppb-button {
  min-height: 42px;
  padding: 10px 17px;
  border: 0;
  border-radius: 8px;
  background: var(--market-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
}
body.ppb-site input[type="submit"]:hover, body.ppb-site input[type="button"]:hover, body.ppb-site button:hover,
body.ppb-admin-ui input[type="submit"]:hover, body.ppb-admin-ui input[type="button"]:hover, body.ppb-admin-ui button:hover,
.market-btn:hover, .ppb-button:hover { background: var(--market-blue-dark); color: #fff !important; transform: translateY(-1px); box-shadow: 0 7px 18px rgba(52,131,250,.22); }
.market-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.market-btn--light { background: rgba(255,255,255,.9); color: var(--market-blue) !important; }
.market-btn--light:hover { background: #fff; color: var(--market-blue-dark) !important; }
.market-btn--primary { background: var(--market-blue); }

/* Cabeçalho do marketplace */
.market-header { position: sticky; top: 0; z-index: 1100; background: var(--market-yellow); box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.market-header__top { display: grid; grid-template-columns: minmax(180px, 250px) minmax(320px, 1fr) auto; align-items: center; gap: 22px; width: min(1240px, calc(100% - 32px)); min-height: 72px; margin: 0 auto; padding: 10px 0 8px; }
.market-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--market-ink) !important; }
.market-brand__logo { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 48px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.62); }
.market-brand__logo img { max-width: 46px; max-height: 42px; object-fit: contain; }
.market-brand__name { overflow: hidden; color: #263238; font-size: clamp(16px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.market-search { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.14), 0 4px 14px rgba(0,0,0,.08); }
.market-search input[type="search"] { width: 100% !important; min-height: 46px !important; padding: 11px 16px !important; border: 0 !important; border-radius: 10px 0 0 10px !important; box-shadow: none !important; font-size: 15px !important; }
.market-search button { display: inline-flex; align-items: center; gap: 7px; min-width: 54px; min-height: 46px; padding: 0 16px; border-left: 1px solid #e6e6e6; border-radius: 0 10px 10px 0; background: #fff; color: #4b5563 !important; box-shadow: none; }
.market-search button:hover { background: #f8fafc; color: var(--market-blue) !important; transform: none; box-shadow: none; }
.market-search button span:first-child { font-size: 24px; line-height: 1; transform: rotate(-20deg); }
.market-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.market-action { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 10px; border-radius: 9px; color: #333 !important; font-weight: 600; }
.market-action:hover { background: rgba(255,255,255,.45); color: #111827 !important; }
.market-action__icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(0,0,0,.18); border-radius: 50%; }
.market-action small, .market-action strong { display: block; line-height: 1.15; }
.market-action small { color: #5b5b5b; font-size: 10px; font-weight: 500; }
.market-action strong { margin-top: 2px; font-size: 13px; }
.market-action--sell { padding-inline: 13px; background: rgba(255,255,255,.7); color: #222 !important; }
.market-menu-toggle { display: none; min-height: 40px !important; padding: 8px 11px !important; background: rgba(255,255,255,.72) !important; color: #263238 !important; box-shadow: none !important; }
.market-header__nav-wrap { border-top: 1px solid rgba(0,0,0,.05); }
.market-header__nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; width: min(1240px, calc(100% - 32px)); min-height: 44px; margin: 0 auto; }
.market-category-picker { display: inline-flex; align-items: center; gap: 7px; min-width: 190px; }
.market-category-picker select { width: 175px !important; min-height: 34px !important; padding: 5px 28px 5px 6px !important; border: 0 !important; background-color: transparent !important; box-shadow: none !important; font-size: 13px !important; font-weight: 600; }
.market-nav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.market-nav::-webkit-scrollbar { display: none; }
.market-nav a { flex: 0 0 auto; padding: 9px 10px; border-radius: 7px; color: #4a4a4a !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.market-nav a:hover, .market-nav a.is-active { background: rgba(255,255,255,.45); color: #111827 !important; }
.market-nav__right { display: flex; align-items: center; gap: 12px; }
.market-security { display: inline-flex; align-items: center; gap: 6px; color: #4a4a4a; font-size: 12px; font-weight: 600; white-space: nowrap; }
.market-security span { color: var(--market-green); font-weight: 900; }
.market-language img { width: 24px; height: auto; border-radius: 3px; }
.market-mobile-menu { position: fixed; inset: 0 0 0 auto; z-index: 1300; width: min(360px, 92vw); padding: 0 18px 20px; overflow-y: auto; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.market-mobile-menu[hidden] { display: none !important; }
.market-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 66px; border-bottom: 1px solid var(--market-border); }
.market-mobile-menu__head button { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; background: #f3f4f6; color: #111827 !important; box-shadow: none; font-size: 24px; }
.market-mobile-menu nav { display: grid; gap: 4px; padding-top: 14px; }
.market-mobile-menu nav a { padding: 13px 12px; border-radius: 8px; color: #30343b !important; font-weight: 650; }
.market-mobile-menu nav a:hover { background: #f3f6fa; }

.market-top-banner { width: min(1240px, calc(100% - 32px)); margin: 14px auto 0; overflow: hidden; border-radius: 12px; }
.market-benefits { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1240px, calc(100% - 32px)); margin: 18px auto; overflow: hidden; border: 1px solid var(--market-border); border-radius: 14px; background: #fff; box-shadow: var(--market-shadow-sm); }
.market-benefits > div { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 11px; padding: 15px 18px; border-right: 1px solid var(--market-border); }
.market-benefits > div:last-child { border-right: 0; }
.market-benefits > div > span { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--market-soft-blue); color: var(--market-blue); font-size: 18px; }
.market-benefits strong { font-size: 13px; }
.market-benefits small { color: var(--market-muted); font-size: 11px; }

/* Estrutura das páginas */
.market-page { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 20px; width: min(1240px, calc(100% - 32px)); margin: 0 auto 28px; }
.market-page--full { grid-template-columns: 1fr; }
.market-sidebar { align-self: start; display: grid; gap: 14px; min-width: 0; }
.market-side-card { overflow: hidden; border: 1px solid var(--market-border); border-radius: 13px; background: #fff; box-shadow: var(--market-shadow-sm); }
.market-side-card__title > table, .market-side-card__title table { width: 100% !important; }
.market-side-card__title .cathead, .market-side-card__title .feathead, .market-side-card__title .memhead, .market-side-card__title .stathead, .market-side-card__title .newshead,
.market-side-card__title td { padding: 11px 14px !important; background: #fff !important; color: #333 !important; font-size: 13px !important; font-weight: 750 !important; }
.market-side-card > div:last-child { padding: 7px 12px 13px; }
.market-side-card table { width: 100% !important; border: 0 !important; }
.market-side-card td { padding: 6px 4px !important; border: 0 !important; background: transparent !important; }
.market-side-card a { color: #4b5563 !important; font-size: 13px !important; }
.market-side-card a:hover { color: var(--market-blue) !important; }
.market-side-card img[src*="pixel.gif"], .market-side-card img[src*="arrow.gif"] { display: none; }
.market-side-card--banner { padding: 0 !important; border: 0; background: transparent; box-shadow: none; }
.market-main { min-width: 0; }
.market-main > .errormessage:first-child, .market-main > .sysmessage:first-child { margin-top: 0; }
.ppb-install-warning { width: min(1240px, calc(100% - 32px)); margin: 12px auto; padding: 12px 15px; border: 1px solid #eed779; border-radius: 10px; background: #fff8d1; color: #614f00; font-weight: 700; text-align: center; }

/* Home */
.market-home-hero { position: relative; min-height: 260px; margin-bottom: 18px; overflow: hidden; border-radius: 18px; background: linear-gradient(125deg, #7E2629, #6B1D20); box-shadow: var(--market-shadow); }
.market-home-hero__content { position: relative; z-index: 2; width: min(650px, 70%); padding: clamp(30px, 5vw, 58px); color: #fff; }
.market-home-hero__content h1 { max-width: 580px; margin: 8px 0 12px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.03; letter-spacing: -.045em; }
.market-home-hero__content p { max-width: 560px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; }
.market-home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.market-home-hero__visual { position: absolute; inset: 0 0 0 auto; display: grid; grid-template-columns: repeat(2, 110px); gap: 16px; width: 38%; padding: 34px; opacity: .95; transform: rotate(-7deg); }
.market-home-hero__visual span { display: grid; place-items: center; min-height: 104px; border: 1px solid rgba(255,255,255,.32); border-radius: 24px; background: rgba(255,255,255,.18); color: #fff; font-size: 46px; backdrop-filter: blur(6px); }
.market-home-hero__visual span:nth-child(3) { grid-column: 1 / 3; margin-inline: 55px; }
.market-home-hero__slider .slider-wrapper, .market-home-hero__slider .nivoSlider { margin: 0 !important; border-radius: 18px; box-shadow: none !important; }
.market-home-hero__slider .nivoSlider img { width: 100% !important; min-height: 260px; max-height: 420px; object-fit: cover; }
.market-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--market-blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.market-home-hero .market-eyebrow { color: #fff; opacity: .85; }
.market-category-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 18px; }
.market-category-shortcuts a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 17px; border: 1px solid var(--market-border); border-radius: 13px; background: #fff; color: var(--market-ink) !important; box-shadow: var(--market-shadow-sm); }
.market-category-shortcuts a:hover { transform: translateY(-2px); box-shadow: var(--market-shadow); }
.market-category-shortcuts a > span { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--market-soft-blue); color: var(--market-blue); font-size: 22px; }
.market-category-shortcuts strong { align-self: end; font-size: 14px; }
.market-category-shortcuts small { color: var(--market-muted); }
.market-section { margin-bottom: 18px; padding: clamp(16px, 2.3vw, 24px); border: 1px solid var(--market-border); border-radius: 16px; background: #fff; box-shadow: var(--market-shadow-sm); }
.market-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.market-section__head h2 { margin: 4px 0 0; color: var(--market-ink); font-size: clamp(21px, 2.3vw, 29px); line-height: 1.1; letter-spacing: -.03em; }
.market-section__head > a { flex: 0 0 auto; font-weight: 700; }
.market-section__mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 800; }
.market-section__mini-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--market-green); box-shadow: 0 0 0 4px rgba(0,166,80,.12); }
.market-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.market-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--market-border); border-radius: 13px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.market-product-card:hover { transform: translateY(-4px); border-color: #cdd5df; box-shadow: var(--market-shadow); }
.market-product-card__image { display: grid; place-items: center; aspect-ratio: 1 / .86; padding: 14px; overflow: hidden; background: #fff; }
.market-product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.market-product-card:hover .market-product-card__image img { transform: scale(1.035); }
.market-product-card__body { padding: 14px; border-top: 1px solid #f0f1f3; }
.market-product-card__title { display: -webkit-box; min-height: 40px; overflow: hidden; color: #333 !important; font-size: 14px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.market-product-card__price { margin-top: 10px; color: #222; font-size: clamp(20px, 2vw, 27px); font-weight: 500; letter-spacing: -.03em; }
.market-product-card__meta { margin-top: 6px; color: var(--market-green); font-size: 11px; font-weight: 650; }
.market-product-card__cta { display: flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 13px; border-radius: 7px; background: var(--market-soft-blue); color: var(--market-blue) !important; font-weight: 750; }
.market-product-card__cta:hover { background: #dceaff; }
.market-home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.market-home-layout__main, .market-home-layout__side { min-width: 0; }
.market-home-layout__side { display: grid; align-content: start; gap: 18px; }
.market-section--list { padding-bottom: 12px; }
.market-listings { display: grid; }
.market-listing-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 20px; align-items: center; gap: 12px; min-height: 68px; padding: 10px 4px; border-top: 1px solid #eef0f2; color: var(--market-ink) !important; }
.market-listing-row:first-child { border-top: 0; }
.market-listing-row:hover { padding-inline: 10px; border-radius: 9px; background: #f7f9fc; }
.market-listing-row__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--market-soft-blue); color: var(--market-blue); font-size: 17px; }
.market-listing-row__icon--urgent { background: #fff0e4; color: #e36b1a; }
.market-listing-row__content { min-width: 0; }
.market-listing-row__content strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.market-listing-row__content small, .market-listing-row__price small { display: block; margin-top: 3px; color: var(--market-muted); font-size: 11px; }
.market-listing-row__price { min-width: 120px; text-align: right; }
.market-listing-row__price strong { font-size: 16px; font-weight: 600; }
.market-listing-row__arrow { color: #b1b5bb; font-size: 26px; }
.market-promo-card, .market-stats-card, .market-news-card, .market-ad-card { padding: 20px; border: 1px solid var(--market-border); border-radius: 15px; background: #fff; box-shadow: var(--market-shadow-sm); }
.market-promo-card { background: linear-gradient(145deg, #fff, var(--market-soft-yellow)); }
.market-promo-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--market-yellow); color: #514a00; font-size: 24px; }
.market-promo-card h2 { margin: 16px 0 8px; font-size: 21px; line-height: 1.18; letter-spacing: -.025em; }
.market-promo-card p { margin: 0 0 16px; color: var(--market-muted); }
.market-promo-card .market-btn { width: 100%; }
.market-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.market-stats-grid div { padding: 13px; border-radius: 10px; background: #f7f8fa; }
.market-stats-grid strong { display: block; font-size: 22px; letter-spacing: -.03em; }
.market-stats-grid span { display: block; color: var(--market-muted); font-size: 10px; }
.market-news-card table { width: 100% !important; border: 0 !important; }
.market-news-card td { padding: 7px 0 !important; border: 0 !important; background: transparent !important; }
.market-news-card img { display: none; }
.market-listings--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.market-wanted-card { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; gap: 2px 10px; padding: 14px; border: 1px solid var(--market-border); border-radius: 10px; color: var(--market-ink) !important; }
.market-wanted-card > span { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--market-soft-yellow); color: #8d7600; }
.market-wanted-card small { color: var(--market-muted); }

/* Rodapé */
.market-footer { margin-top: 34px; border-top: 1px solid var(--market-border); background: #fff; }
.market-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 38px 0 30px; }
.market-footer__brand strong { font-size: 21px; }
.market-footer__brand p { max-width: 350px; color: var(--market-muted); }
.market-footer__column { display: grid; align-content: start; gap: 8px; }
.market-footer__column strong { margin-bottom: 4px; color: #30343b; }
.market-footer__column a { color: #666 !important; font-size: 13px; }
.market-footer__column a:hover { color: var(--market-blue) !important; }
.market-footer__banner { width: min(1240px, calc(100% - 32px)); margin: 0 auto 20px; }
.market-footer__bottom { display: flex; justify-content: space-between; gap: 18px; width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid var(--market-border); color: var(--market-muted); font-size: 11px; }
.market-back-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px !important; padding: 0 !important; border-radius: 50% !important; opacity: 0; pointer-events: none; box-shadow: 0 8px 24px rgba(52,131,250,.3) !important; transform: translateY(10px); }
.market-back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Compatibilidade visual com páginas legadas */
.market-main > table, .market-main > form > table, .market-main > div > table { width: 100% !important; }
.market-main .mainhead, .market-main .mainhead1, .market-main .feathead, .market-main .cathead, .market-main .newshead, .market-main .stathead, .market-main .memhead,
body.ppb-site .mainhead, body.ppb-site .mainhead1 {
  margin: 0 0 12px !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--market-ink) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  box-shadow: var(--market-shadow-sm);
}
.market-main .mainhead img, .market-main .mainhead1 img { display: none; }
body.ppb-site .border, body.ppb-site .boxmain, body.ppb-site .paymenttable, body.ppb-site .gradient,
body.ppb-site .bordercat, body.ppb-site .borderstat, body.ppb-site .subitem, body.ppb-site .borderfeat {
  border: 1px solid var(--market-border) !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: var(--market-shadow-sm);
}
body.ppb-site .c1, body.ppb-site .c2, body.ppb-site .c5, body.ppb-site .c6, body.ppb-site .c7, body.ppb-site .white, body.ppb-site .grey { background: #fff !important; color: var(--market-ink) !important; }
body.ppb-site .c3, body.ppb-site .c4, body.ppb-site .c8, body.ppb-site .header { background: #f3f6fa !important; color: #333 !important; font-weight: 750 !important; }
body.ppb-site .c3 a, body.ppb-site .c4 a, body.ppb-site .c8 a, body.ppb-site .header a { color: var(--market-blue) !important; }
body.ppb-site td { font-size: 13px !important; }
body.ppb-site td[id="bot"], body.ppb-site .borderbottom { border-bottom: 1px solid #eef0f2 !important; }
body.ppb-site img[src*="pixel.gif"] { width: 1px !important; height: 1px !important; opacity: 0; }
body.ppb-site img[src*="c1.gif"], body.ppb-site img[src*="c2.gif"], body.ppb-site img[src*="c3.gif"], body.ppb-site img[src*="c4.gif"],
body.ppb-site img[src*="ftop"], body.ppb-site img[src*="fbottom"] { display: none; }
body.ppb-site .contentfont { font-size: 13px !important; }
body.ppb-site .smallfont { color: #4b5563; font-size: 12px !important; }
body.ppb-site .boldgrey { color: #424851 !important; font-weight: 750 !important; }
body.ppb-site .errormessage, body.ppb-admin-ui .errormessage { margin: 12px 0; padding: 13px 15px !important; border: 1px solid #f0b8c4 !important; border-radius: 10px; background: #fff1f4 !important; color: #9c263e !important; font-weight: 700; }
body.ppb-site .sysmessage, body.ppb-admin-ui .sysmessage { margin: 12px 0; padding: 13px 15px !important; border: 1px solid #bcd5fb !important; border-radius: 10px; background: #eef5ff !important; color: #275a9d !important; }
body.ppb-site .warning, body.ppb-admin-ui .warning { padding: 12px 14px; border: 1px solid #ecd890; border-radius: 9px; background: #fff9dc !important; color: #725d00 !important; }
body.ppb-site hr, body.ppb-admin-ui hr { border: 0 !important; border-top: 1px solid var(--market-border) !important; }
.ppb-scroll-x { width: 100%; overflow-x: auto; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.ppb-scroll-x > table { min-width: 680px; }
.ppb-data-table { width: 100% !important; border-collapse: separate !important; border-spacing: 0 !important; background: #fff; }
.ppb-data-table th, .ppb-data-table tr:first-child td { background: #f7f8fa !important; color: #41464e !important; font-weight: 750 !important; }
.ppb-data-table td, .ppb-data-table th { padding: 10px 11px !important; border-bottom: 1px solid #eceff2 !important; }
.ppb-data-table tr:hover td { background: #fbfcfe !important; }

/* Área de membros e fluxos */
body[data-page="login.php"] .market-main, body[data-page="register.php"] .market-main, body[data-page="retrieve_password.php"] .market-main,
body[data-page="sell_item.php"] .market-main, body[data-page="members_area.php"] .market-main { padding: clamp(16px, 2.5vw, 26px); border: 1px solid var(--market-border); border-radius: 16px; background: #fff; box-shadow: var(--market-shadow-sm); }
.market-main form table td { padding: 7px 9px !important; }
.market-main label { color: #424851; font-weight: 650; }

/* Admin marketplace console */
body.ppb-admin-ui { min-height: 100vh; background: #f2f4f7 !important; }
.ppb-admin-header { position: sticky; top: 0; z-index: 1200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; min-height: 70px; padding: 10px clamp(15px, 2.7vw, 34px); border-bottom: 1px solid rgba(0,0,0,.08); background: var(--market-yellow); color: var(--market-ink); box-shadow: 0 2px 12px rgba(0,0,0,.11); }
.ppb-admin-brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.ppb-admin-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #263238; color: var(--market-yellow); font-size: 17px; font-weight: 900; box-shadow: 0 5px 12px rgba(0,0,0,.16); }
.ppb-admin-brand strong { display: block; overflow: hidden; max-width: 220px; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.ppb-admin-brand small { display: block; margin-top: 2px; color: #67633f; font-size: 10px; }
.ppb-admin-version { display: inline-flex; margin-left: 5px; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.54); color: #5d5700; font-size: 10px; font-weight: 800; }
.ppb-admin-nav { display: flex; justify-content: flex-end; gap: 6px; min-width: 0; overflow-x: auto; }
.ppb-admin-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 11px; border-radius: 8px; color: #36332c !important; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ppb-admin-nav a:hover { background: rgba(255,255,255,.5); }
.ppb-admin-nav a.ppb-logout { color: #8d2136 !important; }
.ppb-admin-menu-toggle { display: none; min-height: 38px !important; padding: 8px 11px !important; background: #263238 !important; color: #fff !important; box-shadow: none !important; }
.ppb-admin-shell { display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 20px; width: min(1540px, calc(100% - 32px)); margin: 22px auto; }
.ppb-admin-sidebar { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 112px); padding: 14px; overflow-y: auto; border-radius: 15px; background: #263238; color: #dce3e7; box-shadow: var(--market-shadow); scrollbar-width: thin; }
.ppb-admin-sidebar .ppb-admin-sidebar-search { position: sticky; top: -14px; z-index: 2; padding: 10px 0 12px; background: #263238; }
.ppb-admin-sidebar .ppb-admin-sidebar-search input { width: 100% !important; min-height: 40px !important; border-color: rgba(255,255,255,.12) !important; background: rgba(255,255,255,.08) !important; color: #fff; }
.ppb-admin-sidebar .ppb-admin-sidebar-search input::placeholder { color: #aeb9bf; }
.ppb-admin-sidebar table { width: 100% !important; border: 0 !important; background: transparent !important; }
.ppb-admin-sidebar td { padding: 0 !important; border: 0 !important; background: transparent !important; }
.ppb-admin-sidebar img { display: none !important; }
.ppb-admin-sidebar .mainhead, .ppb-admin-sidebar .mainhead1, .ppb-admin-sidebar .atitle, .ppb-admin-sidebar .ppb-admin-nav-group-title { margin: 14px 0 7px !important; padding: 7px 8px !important; border: 0 !important; background: transparent !important; color: var(--market-yellow) !important; font-size: 10px !important; font-weight: 850 !important; letter-spacing: .08em; text-transform: uppercase; }
.ppb-admin-sidebar .alink, .ppb-admin-sidebar .menulink { padding: 0 !important; background: none !important; }
.ppb-admin-sidebar .alink a, .ppb-admin-sidebar .menulink a, .ppb-admin-sidebar a { display: block; margin: 2px 0; padding: 9px 10px; border-radius: 8px; color: #e4eaed !important; font-size: 12px !important; font-weight: 600; text-decoration: none !important; }
.ppb-admin-sidebar .alink a:hover, .ppb-admin-sidebar .menulink a:hover, .ppb-admin-sidebar a:hover, .ppb-admin-sidebar a.is-active { background: rgba(255,255,255,.1); color: #fff !important; }
.ppb-admin-main { min-width: 0; padding: clamp(18px, 2.4vw, 30px); border: 1px solid var(--market-border); border-radius: 16px; background: #fff; box-shadow: var(--market-shadow-sm); overflow-x: auto; }
.ppb-admin-main > table { width: 100% !important; }
.ppb-admin-main .mainhead, .ppb-admin-main .mainhead1 { margin: 18px 0 10px !important; padding: 13px 15px !important; border: 0 !important; border-left: 4px solid var(--market-blue) !important; border-radius: 9px !important; background: #f6f8fb !important; color: #30343b !important; font-size: 17px !important; font-weight: 800 !important; }
.ppb-admin-main .mainhead:first-child, .ppb-admin-main .mainhead1:first-child { margin-top: 0 !important; }
.ppb-admin-main .mainhead img, .ppb-admin-main .mainhead1 img { display: none; }
.ppb-admin-main .fside, .ppb-admin-main .fsidew, .ppb-admin-main .ftop, .ppb-admin-main .ftopw, .ppb-admin-main .fbottom, .ppb-admin-main .fbottomw,
.ppb-admin-main .boxmain { border-color: var(--market-border) !important; background: #fff !important; }
.ppb-admin-main .menulink { padding: 12px !important; }
.ppb-admin-main .menulink img { display: none; }
.ppb-admin-main .menulink a { display: inline-flex; margin: 3px 4px 3px 0; padding: 7px 10px; border-radius: 7px; background: #f3f6fa; color: #475569 !important; font-size: 12px !important; text-decoration: none !important; }
.ppb-admin-main .menulink a:hover { background: var(--market-soft-blue); color: var(--market-blue) !important; }
.ppb-admin-main .c1, .ppb-admin-main .c2, .ppb-admin-main .c5, .ppb-admin-main .c6, .ppb-admin-main .c7, .ppb-admin-main .white, .ppb-admin-main .grey { background: #fff !important; color: #333 !important; }
.ppb-admin-main .c3, .ppb-admin-main .c4, .ppb-admin-main .c8, .ppb-admin-main .header { background: #f4f6f8 !important; color: #333 !important; }
.ppb-admin-main td { padding: 7px 8px !important; font-size: 12px !important; }
.ppb-admin-footer { display: flex; justify-content: space-between; gap: 18px; width: min(1540px, calc(100% - 32px)); margin: 0 auto 24px; padding: 16px 18px; border: 1px solid var(--market-border); border-radius: 12px; background: #fff; color: var(--market-muted); font-size: 11px; box-shadow: var(--market-shadow-sm); }

/* Dashboard admin */
.ppb-dashboard { display: grid; gap: 20px; }
.ppb-dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-radius: 14px; background: linear-gradient(130deg, #263238, #37474f); color: #fff; }
.ppb-dashboard-hero h1 { margin: 3px 0 7px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.ppb-dashboard-hero p { margin: 0; color: #c7d0d4; }
.ppb-dashboard-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ppb-dashboard-hero__actions a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 13px; border-radius: 8px; background: var(--market-yellow); color: #332f00 !important; font-weight: 800; }
.ppb-dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ppb-dashboard-card { padding: 17px; border: 1px solid var(--market-border); border-radius: 12px; background: #fff; box-shadow: var(--market-shadow-sm); }
.ppb-dashboard-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ppb-dashboard-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--market-soft-blue); color: var(--market-blue); font-size: 18px; }
.ppb-dashboard-card strong { display: block; margin-top: 13px; font-size: 27px; letter-spacing: -.035em; }
.ppb-dashboard-card span { color: var(--market-muted); font-size: 11px; }
.ppb-dashboard-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ppb-dashboard-section { padding: 18px; border: 1px solid var(--market-border); border-radius: 13px; background: #fff; }
.ppb-dashboard-section h2 { margin: 0 0 14px; font-size: 18px; }
.ppb-dashboard-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ppb-dashboard-links a { padding: 10px 11px; border-radius: 8px; background: #f5f7fa; color: #424851 !important; font-weight: 650; }
.ppb-dashboard-links a:hover { background: var(--market-soft-blue); color: var(--market-blue) !important; }

/* Login admin */
.ppb-admin-login-page { display: grid; min-height: 100vh; place-items: center; padding: 26px; background: radial-gradient(circle at top left, #fff8b5, transparent 35%), #f3f4f6 !important; }
.ppb-login-card { width: min(460px, 100%); padding: 34px; border: 1px solid var(--market-border); border-radius: 18px; background: #fff; box-shadow: var(--market-shadow-lg); }
.ppb-login-logo { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 15px; background: var(--market-yellow); color: #2e2b00; font-size: 20px; font-weight: 900; }
.ppb-login-card h1 { margin: 20px 0 6px; font-size: 28px; letter-spacing: -.035em; }
.ppb-login-card > p { margin: 0 0 22px; color: var(--market-muted); }
.ppb-login-field { display: grid; gap: 7px; margin-bottom: 15px; }
.ppb-login-field label { color: #454b54; font-weight: 700; }
.ppb-login-field input { width: 100% !important; }
.ppb-login-pin { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.ppb-login-pin-preview { display: grid; min-width: 100px; place-items: center; overflow: hidden; border: 1px solid var(--market-border); border-radius: 9px; background: #f8fafc; }
.ppb-login-submit { width: 100%; margin-top: 5px; }
.ppb-login-meta { margin-top: 18px; color: var(--market-muted); font-size: 11px; text-align: center; }

/* Upload moderno */
.ppb-bulk-uploader { padding: 16px; border: 1px dashed #b9c9dd; border-radius: 12px; background: #f8fbff; }
.ppb-bulk-uploader progress { width: 100%; height: 8px; margin-top: 10px; accent-color: var(--market-blue); }
.ppb-bulk-status { margin-top: 8px; font-size: 12px; }
.ppb-processing-box { padding: 18px 22px; border-radius: 12px; background: #fff; color: #333; font-weight: 750; box-shadow: var(--market-shadow-lg); }

@media (max-width: 1120px) {
  .market-header__top { grid-template-columns: 190px minmax(260px, 1fr) auto; gap: 13px; }
  .market-action--account span:last-child { display: none; }
  .market-header__nav { gap: 12px; }
  .market-security { display: none; }
  .market-page { grid-template-columns: 220px minmax(0, 1fr); }
  .market-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-category-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .ppb-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .market-header { position: relative; }
  .market-header__top { grid-template-columns: minmax(145px, 190px) 1fr auto; width: min(100% - 20px, 1240px); }
  .market-brand__logo { width: 43px; height: 41px; }
  .market-brand__name { font-size: 16px; }
  .market-search__label { display: none; }
  .market-action--account, .market-action--sell { display: none; }
  .market-menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .market-header__nav-wrap { display: none; }
  .market-benefits { grid-template-columns: repeat(2, 1fr); }
  .market-benefits > div:nth-child(2) { border-right: 0; }
  .market-benefits > div:nth-child(-n+2) { border-bottom: 1px solid var(--market-border); }
  .market-page { grid-template-columns: 1fr; }
  .market-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-side-card--banner { display: none; }
  .market-home-layout { grid-template-columns: 1fr; }
  .market-home-layout__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-footer__top { grid-template-columns: repeat(2, 1fr); }
  .ppb-admin-header { grid-template-columns: 1fr auto; }
  .ppb-admin-menu-toggle { display: inline-flex; }
  .ppb-admin-nav { grid-column: 1 / 3; justify-content: flex-start; }
  .ppb-admin-shell { grid-template-columns: 1fr; }
  .ppb-admin-sidebar { position: static; display: none; max-height: none; }
  body.ppb-admin-menu-open .ppb-admin-sidebar { display: block; }
}

@media (max-width: 700px) {
  body.ppb-site, body.ppb-admin-ui { font-size: 13px; }
  .market-header__top { grid-template-columns: auto 1fr auto; gap: 8px; width: calc(100% - 14px); min-height: 62px; }
  .market-brand__name { display: none; }
  .market-brand__logo { width: 42px; }
  .market-search input[type="search"] { min-height: 42px !important; padding-inline: 11px !important; font-size: 13px !important; }
  .market-search button { min-width: 43px; min-height: 42px; padding-inline: 10px; }
  .market-menu-toggle span:last-child { display: none; }
  .market-top-banner, .market-benefits, .market-page, .market-footer__top, .market-footer__bottom, .market-footer__banner, .ppb-install-warning { width: calc(100% - 14px); }
  .market-benefits { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .market-benefits > div { flex: 0 0 78%; border-right: 1px solid var(--market-border) !important; border-bottom: 0 !important; scroll-snap-align: start; }
  .market-page { gap: 12px; margin-bottom: 16px; }
  .market-sidebar { grid-template-columns: 1fr; }
  .market-side-card--categories { display: none; }
  .market-home-hero { min-height: 230px; border-radius: 13px; }
  .market-home-hero__content { width: 100%; padding: 27px 22px; }
  .market-home-hero__content h1 { font-size: 30px; }
  .market-home-hero__visual { display: none; }
  .market-category-shortcuts { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 3px; scroll-snap-type: x mandatory; }
  .market-category-shortcuts a { flex: 0 0 82%; scroll-snap-align: start; }
  .market-section { padding: 14px; border-radius: 13px; }
  .market-section__head { align-items: center; }
  .market-section__head h2 { font-size: 20px; }
  .market-section__head > a { font-size: 12px; }
  .market-product-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scroll-snap-type: x mandatory; }
  .market-product-card { flex: 0 0 74%; scroll-snap-align: start; }
  .market-listing-row { grid-template-columns: 36px minmax(0, 1fr) 18px; }
  .market-listing-row__price { grid-column: 2 / 3; min-width: 0; margin-top: -5px; text-align: left; }
  .market-listing-row__arrow { grid-column: 3; grid-row: 1 / 3; }
  .market-home-layout__side { grid-template-columns: 1fr; }
  .market-listings--grid { grid-template-columns: 1fr; }
  .market-footer__top { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-top: 28px; }
  .market-footer__brand { grid-column: 1 / 3; }
  .market-footer__bottom { flex-direction: column; gap: 4px; }
  body[data-page="login.php"] .market-main, body[data-page="register.php"] .market-main, body[data-page="retrieve_password.php"] .market-main,
  body[data-page="sell_item.php"] .market-main, body[data-page="members_area.php"] .market-main { padding: 12px; }
  .market-main form table, .market-main form tbody, .market-main form tr, .market-main form td { display: block; width: 100% !important; }
  .market-main form td { padding: 5px 0 !important; }
  .market-main form input[type="text"], .market-main form input[type="email"], .market-main form input[type="password"], .market-main form select, .market-main form textarea { width: 100% !important; }
  .ppb-admin-header { padding-inline: 12px; }
  .ppb-admin-brand small, .ppb-admin-version { display: none; }
  .ppb-admin-shell, .ppb-admin-footer { width: calc(100% - 14px); }
  .ppb-admin-main { padding: 13px; }
  .ppb-admin-footer { flex-direction: column; }
  .ppb-dashboard-grid, .ppb-dashboard-sections, .ppb-dashboard-links { grid-template-columns: 1fr; }
  .ppb-dashboard-hero { align-items: flex-start; flex-direction: column; }
  .ppb-login-card { padding: 24px 19px; }
  .ppb-login-pin { grid-template-columns: 1fr; }
}
