/* MiTiendita public marketplace landing */
.landing-marketplace {
  --market-primary: #5b2eff;
  --market-primary-dark: #3b14bd;
  --market-coral: #ff5b6e;
  --market-yellow: #ffc83d;
  --market-green: #36c66b;
  --market-ink: #1e1e2d;
  --market-muted: #667085;
  --market-line: #e8ebf2;
  --market-soft: #f8f8ff;
  --market-surface: #ffffff;
  --market-shadow: 0 18px 46px rgba(30, 30, 45, 0.08);
  background: #fbfcff;
  color: var(--market-ink);
  font-family: "Inter", "Poppins", sans-serif;
}

html { scroll-padding-top: 96px; }
.landing-container { max-width: 1360px; }
.market-hero, .market-section, .trust-band, .landing-business-cover, #top, #categories, #businesses, #products, #how, #sell { scroll-margin-top: 96px; }
.market-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--market-line); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(18px); }
.market-hero::after, .market-section::after, .market-footer::before { content: ""; position: absolute; left: 50%; width: min(calc(100% - 24px), 1360px); height: 1px; transform: translateX(-50%); background: var(--market-line); }
.market-hero::after, .market-section::after { bottom: 0; }
.market-footer::before { top: 0; }
.market-nav .navbar { padding: 18px 0; }
.market-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.market-brand img { display: block; width: min(230px, 46vw); height: auto; object-fit: contain; }
.market-footer .market-brand img { width: min(250px, 100%); }
.market-toggler { width: 44px; height: 44px; border: 1px solid var(--market-line); border-radius: 14px; color: var(--market-ink); }
.market-toggler:focus { box-shadow: 0 0 0 4px rgba(91, 46, 255, 0.14); }
.market-nav__links { gap: 26px; }
.market-nav__links .nav-link { position: relative; color: var(--market-ink); font-size: 15px; font-weight: 800; padding: 10px 0; }
.market-nav__links .nav-link.active, .market-nav__links .nav-link:hover, .market-nav__links .nav-link:focus { color: var(--market-primary); }
.market-nav__links .nav-link.active::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 999px; background: var(--market-primary); }
.market-nav__actions, .market-hero__actions, .seller-cta__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.market-nav__search { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--market-line); border-radius: 14px; color: var(--market-ink); text-decoration: none; }
.market-nav__search:hover { color: var(--market-primary); border-color: rgba(91, 46, 255, 0.25); }

.market-btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; padding: 12px 18px; font-weight: 900; line-height: 1; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.market-btn:hover, .market-btn:focus { transform: translateY(-2px); }
.market-btn--primary { background: var(--market-primary); color: #fff; box-shadow: 0 14px 28px rgba(91, 46, 255, 0.23); }
.market-btn--primary:hover, .market-btn--primary:focus { background: var(--market-primary-dark); color: #fff; }
.market-btn--secondary, .market-btn--ghost { border-color: var(--market-coral); background: #fff; color: var(--market-coral); }
.market-btn--ghost { border-color: transparent; color: var(--market-ink); }
.market-btn--secondary:hover, .market-btn--ghost:hover, .market-btn--secondary:focus, .market-btn--ghost:focus { color: var(--market-primary); border-color: rgba(91, 46, 255, 0.28); }
.market-btn--light { background: #fff; color: var(--market-primary); }
.market-btn--soft { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.14); color: #fff; }
.market-link { color: var(--market-primary); font-weight: 900; text-decoration: none; }

.landing-business-cover { padding: 18px 0 0; }
.landing-business-cover__frame { position: relative; min-height: 190px; overflow: hidden; border-radius: 14px; background: #111827; box-shadow: var(--market-shadow); }
.landing-business-cover__frame img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.landing-business-cover__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 30, 45, 0.05), rgba(30, 30, 45, 0.58)); }
.landing-business-cover__fallback { min-height: 190px; background: linear-gradient(135deg, var(--market-primary), var(--market-coral)); }
.landing-business-cover__content { position: absolute; right: 0; bottom: 18px; left: 0; z-index: 1; padding: 0 24px; color: #fff; }
.landing-business-cover__content span { display: block; font-size: 13px; font-weight: 800; opacity: 0.88; }
.landing-business-cover__content h1 { margin: 2px 0 0; color: #fff; font-size: 28px; font-weight: 900; line-height: 1.15; text-shadow: 0 2px 12px rgba(15, 23, 42, 0.35); }

.market-hero { position: relative; overflow: hidden; min-height: 560px; background: linear-gradient(180deg, #fff 0%, #fbfcff 100%); padding: 62px 0 54px; }
.market-hero__grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1fr); align-items: center; gap: 56px; }
.market-hero h1 { max-width: 720px; margin: 0 0 20px; color: var(--market-primary-dark); font-size: clamp(52px, 6.3vw, 82px); font-weight: 900; line-height: 0.96; letter-spacing: -0.035em; }
.market-hero h1::first-letter { color: var(--market-primary); }
.market-hero h1::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 6px; border-radius: 50%; background: var(--market-coral); vertical-align: baseline; }
.market-hero p { max-width: 560px; color: #596579; font-size: 18px; line-height: 1.58; margin-bottom: 22px; }
.market-search { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; max-width: 560px; margin-bottom: 14px; border: 1px solid #d9dde8; border-radius: 18px; background: #fff; padding: 8px; box-shadow: 0 16px 38px rgba(30, 30, 45, 0.05); }
.market-search i { color: var(--market-primary); font-size: 22px; margin-left: 12px; }
.market-search input { min-width: 0; border: 0; background: transparent; color: var(--market-ink); font-size: 15px; outline: 0; padding: 14px 14px; }
.market-search__submit { min-height: 44px; border: 0; border-radius: 12px; background: var(--market-primary); color: #fff; font-weight: 900; padding: 0 22px; box-shadow: 0 11px 22px rgba(91, 46, 255, 0.21); }
.market-search:focus-within { border-color: rgba(91, 46, 255, 0.38); box-shadow: 0 0 0 4px rgba(91, 46, 255, 0.1), 0 16px 38px rgba(30, 30, 45, 0.05); }
.market-stats { display: none; }

.market-hero__visual { min-height: 410px; }
.hero-showcase { position: relative; min-height: 430px; }
.hero-shape { position: absolute; display: block; pointer-events: none; }
.hero-shape--yellow { right: 158px; top: 2px; width: 300px; height: 300px; border-radius: 48% 52% 54% 46%; background: var(--market-yellow); transform: rotate(-14deg); }
.hero-shape--purple { left: 58px; top: 82px; width: 170px; height: 170px; border-radius: 50%; background: rgba(91, 46, 255, 0.08); }
.hero-shape--green { left: 112px; top: 236px; width: 18px; height: 18px; border-radius: 50%; background: var(--market-green); }
.hero-shape--coral { right: 22px; top: 132px; width: 28px; height: 28px; transform: rotate(45deg); background: var(--market-coral); border-radius: 18px 18px 4px 18px; }
.hero-store-card { position: absolute; top: 36px; left: 118px; z-index: 2; width: 382px; overflow: hidden; border: 10px solid #fff; border-radius: 18px; background: #fff; box-shadow: var(--market-shadow); }
.hero-store-card img { display: block; width: 100%; height: 150px; object-fit: cover; }
.hero-store-card__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.hero-store-card__body strong { display: block; color: var(--market-ink); font-size: 15px; font-weight: 900; }
.hero-store-card__body span { display: inline-flex; align-items: center; gap: 5px; color: var(--market-muted); font-size: 12px; font-weight: 800; }
.hero-rating { color: var(--market-ink) !important; }
.hero-rating i { color: var(--market-yellow); }
.hero-floating-product { position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; width: 245px; border-radius: 20px; background: #fff; padding: 14px; box-shadow: 0 18px 46px rgba(30, 30, 45, 0.12); }
.hero-floating-product img { width: 78px; height: 78px; flex: 0 0 78px; border-radius: 14px; object-fit: cover; background: #f4f6fb; }
.hero-floating-product span { display: block; color: var(--market-ink); font-size: 13px; font-weight: 800; line-height: 1.2; }
.hero-floating-product strong { display: block; margin-top: 6px; color: var(--market-coral); font-size: 15px; font-weight: 900; }
.hero-floating-product--top { top: 48px; right: 36px; }
.hero-floating-product--bottom { top: 194px; right: 0; }
.hero-verified { position: absolute; bottom: 38px; left: 152px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: #fff; color: var(--market-ink); font-size: 13px; font-weight: 900; padding: 10px 14px; box-shadow: var(--market-shadow); }
.hero-verified i { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: rgba(54, 198, 107, 0.13); color: var(--market-green); }
.hero-brand-mark { position: absolute; right: 170px; bottom: 0; z-index: 4; width: 142px; height: auto; filter: drop-shadow(0 22px 28px rgba(91, 46, 255, 0.23)); }

.market-section { position: relative; padding: 44px 0; background: #fff; }
.market-section--soft { background: #fff; }
.market-section--compact { padding: 0; }
.market-product-detail { padding: 54px 0 78px; }
.market-section__header { max-width: none; margin-bottom: 18px; }
.market-section__header--split, .market-section__header--compact { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.market-section__header h2 { margin: 0; color: var(--market-ink); font-size: 23px; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.market-section__header p { margin: 8px 0 0; color: var(--market-muted); font-size: 15px; }
.market-eyebrow { display: none; }

.category-grid, .business-grid, .product-grid, .benefit-grid, .steps-grid, .story-grid { display: grid; gap: 16px; }
.category-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.category-card { display: grid; min-height: 86px; place-items: center; gap: 7px; border: 1px solid var(--market-line); border-radius: 10px; background: #fff; color: var(--market-ink); padding: 12px 8px; text-align: center; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.category-card:hover, .business-card:hover, .product-card:hover { transform: translateY(-3px); border-color: rgba(91, 46, 255, 0.25); box-shadow: var(--market-shadow); }
.category-card i { display: grid; width: 34px; height: 34px; place-items: center; color: var(--market-primary); font-size: 28px; }
.category-card:nth-child(2n) i { color: var(--market-coral); }
.category-card:nth-child(3n) i { color: #f0ae00; }
.category-card:nth-child(4n) i { color: var(--market-green); }
.category-card span { display: block; font-size: 11px; font-weight: 900; }
.category-card small { display: none; }

.business-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.business-card { overflow: hidden; border: 1px solid var(--market-line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(30, 30, 45, 0.055); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.business-card__cover { display: flex; align-items: center; justify-content: center; height: 116px; overflow: hidden; background: linear-gradient(135deg, #f1ecff, #fff2bf); }
.business-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.business-card__cover-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--market-primary); font-size: 36px; }
.business-card__body { padding: 12px 14px; }
.business-card__identity { display: block; }
.business-card__logo { display: none; }
.business-card h3 { margin: 0 0 8px; color: var(--market-ink); font-size: 14px; font-weight: 900; line-height: 1.2; }
.business-card p { display: none; }
.business-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--market-muted); font-size: 12px; font-weight: 800; }
.business-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.business-card__meta span::after { content: "4.9"; color: var(--market-ink); }
.business-card__meta span i { color: var(--market-muted); }
.business-card__meta a { color: var(--market-primary); font-weight: 900; text-decoration: none; }

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-slider { position: relative; }
.product-slider__controls { position: absolute; right: 0; bottom: calc(100% + 18px); display: flex; align-items: center; gap: 10px; }
.product-slider__button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(91, 46, 255, 0.14); border-radius: 14px; background: #fff; color: var(--market-primary); font-size: 24px; box-shadow: 0 12px 28px rgba(30, 30, 45, 0.06); transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.product-slider__button:hover, .product-slider__button:focus { border-color: var(--market-primary); background: var(--market-primary); color: #fff; transform: translateY(-2px); }
.product-slider__button:disabled { cursor: default; opacity: 0.38; transform: none; }
.product-slider__viewport { overflow-x: auto; overflow-y: visible; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-slider__viewport::-webkit-scrollbar { display: none; }
.product-grid--featured { display: flex; gap: 18px; align-items: stretch; padding: 2px 2px 22px; }
.product-grid--featured .product-card { flex: 0 0 clamp(280px, 24vw, 330px); scroll-snap-align: start; }
.product-slider.is-static .product-slider__controls { display: none; }
.product-card { position: relative; overflow: hidden; min-height: 0; border: 1px solid rgba(91, 46, 255, 0.1); border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(30, 30, 45, 0.055); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.product-card::after { content: ""; position: absolute; inset: auto 18px 0; height: 3px; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, var(--market-primary), var(--market-coral)); opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(91, 46, 255, 0.22); box-shadow: 0 26px 60px rgba(30, 30, 45, 0.11); }
.product-card:hover::after { opacity: 1; transform: translateY(0); }
.product-card__media { position: relative; display: block; color: inherit; text-decoration: none; }
.product-card__image { display: block; width: 100%; aspect-ratio: 1.45 / 1; overflow: hidden; border-radius: 16px 16px 0 0; background: var(--market-soft); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-card__price { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; min-height: 34px; border-radius: 999px; background: var(--market-coral); color: #fff; padding: 7px 12px; font-size: 14px; font-weight: 900; box-shadow: 0 14px 30px rgba(255, 91, 110, 0.26); }
.product-card__body { min-width: 0; padding: 16px 16px 18px; }
.product-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--market-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.product-card__topline small { color: var(--market-green); font-size: 11px; text-transform: none; }
.product-card h3 { min-height: 42px; margin: 0 0 6px; color: var(--market-ink); font-size: 17px; font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.product-card h3 a, .product-card p a { color: inherit; text-decoration: none; }
.product-card h3 a:hover, .product-card p a:hover { color: var(--market-primary); }
.product-card p { margin: 0 0 14px; overflow: hidden; color: var(--market-muted); font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__footer strong { color: var(--market-green); font-size: 12px; font-weight: 900; }
.product-card__footer a { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: rgba(91, 46, 255, 0.08); color: var(--market-primary); padding: 8px 11px; font-size: 12px; font-weight: 900; text-decoration: none; transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease; }
.product-card__footer a:hover { background: var(--market-primary); color: #fff; transform: translateX(2px); }
.product-card__footer a::after { content: "\ea6c"; font-family: remixicon; font-size: 15px; line-height: 1; }

.trust-band { overflow: hidden; background: #fff; color: #fff; padding: 44px 0; }
.trust-band > .landing-container { overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, var(--market-primary), #4720d6); padding: 36px clamp(24px, 5vw, 64px) 40px; box-shadow: 0 24px 70px rgba(91, 46, 255, 0.2); }
.trust-band h2 { margin: 0 0 24px; color: #fff; font-size: 30px; font-weight: 900; text-align: center; }
.trust-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-band article { display: flex; align-items: center; gap: 14px; }
.trust-band i { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; background: #fff; color: var(--market-primary); font-size: 23px; }
.trust-band strong, .trust-band span { display: block; }
.trust-band strong { color: #fff; font-size: 16px; font-weight: 900; }
.trust-band span { color: rgba(255, 255, 255, 0.82); font-size: 14px; }

.benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-card, .step-card, .story-card, .market-empty { border: 1px solid var(--market-line); border-radius: 14px; background: #fff; padding: 24px; box-shadow: 0 14px 34px rgba(30, 30, 45, 0.05); }
.benefit-card i, .story-card i { display: inline-grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: rgba(91, 46, 255, 0.1); color: var(--market-primary); font-size: 23px; }
.benefit-card h2, .step-card h3, .story-card h3 { margin: 14px 0 8px; color: var(--market-ink); font-size: 18px; font-weight: 900; }
.benefit-card p, .step-card p, .story-card p, .market-empty p { color: var(--market-muted); line-height: 1.6; }
.how-section { background: linear-gradient(180deg, #fff 0%, #fbfcff 100%); }
.how-section .market-section__header { max-width: 760px; margin-bottom: 26px; }
.how-section .market-section__header h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how-section .steps-grid { position: relative; gap: 18px; }
.how-section .steps-grid::before { content: ""; position: absolute; top: 47px; right: 9%; left: 9%; height: 2px; background: linear-gradient(90deg, rgba(91, 46, 255, 0.16), rgba(255, 91, 110, 0.22), rgba(255, 200, 61, 0.24), rgba(54, 198, 107, 0.2)); }
.step-card { position: relative; overflow: hidden; min-height: 206px; border-color: rgba(91, 46, 255, 0.11); border-radius: 18px; padding: 22px; box-shadow: 0 18px 44px rgba(30, 30, 45, 0.055); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.step-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--step-accent, var(--market-primary)); }
.step-card:hover { transform: translateY(-3px); border-color: rgba(91, 46, 255, 0.22); box-shadow: 0 24px 54px rgba(30, 30, 45, 0.09); }
.step-card__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.step-card span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; background: rgba(91, 46, 255, 0.1); color: var(--step-accent, var(--market-primary)); font-size: 14px; font-weight: 900; }
.step-card i { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; background: color-mix(in srgb, var(--step-accent, var(--market-primary)) 12%, #fff); color: var(--step-accent, var(--market-primary)); font-size: 28px; }
.step-card h3 { margin-top: 0; font-size: 20px; letter-spacing: -0.02em; }
.step-card p { margin-bottom: 0; font-size: 15px; }
.step-card:nth-child(1) { --step-accent: var(--market-primary); }
.step-card:nth-child(2) { --step-accent: var(--market-coral); }
.step-card:nth-child(3) { --step-accent: #f0ae00; }
.step-card:nth-child(4) { --step-accent: var(--market-green); }

.seller-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, var(--market-primary), #4b20db); color: #fff; padding: clamp(28px, 5vw, 52px); box-shadow: 0 24px 70px rgba(91, 46, 255, 0.26); }
.seller-cta .market-eyebrow { display: inline-flex; border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.15); color: #fff; }
.seller-cta h2 { max-width: 720px; margin: 16px 0 12px; color: #fff; font-size: clamp(32px, 4vw, 50px); font-weight: 900; line-height: 1.05; }
.seller-cta p { max-width: 690px; color: rgba(255, 255, 255, 0.82); }
.seller-cta ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.seller-cta li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.seller-cta li i { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.18); }
.seller-cta__actions { justify-content: flex-end; }
.story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.market-empty { grid-column: 1 / -1; text-align: center; }
.market-empty i { color: var(--market-primary); font-size: 42px; }

.market-footer { position: relative; background: #fff; padding: 56px 0 24px; }
.market-footer__grid { display: grid; grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.market-footer h2 { margin: 0 0 14px; color: var(--market-ink); font-size: 15px; font-weight: 900; }
.market-footer a, .market-footer span { display: block; color: var(--market-muted); font-weight: 800; line-height: 1.9; text-decoration: none; }
.market-footer a:hover { color: var(--market-primary); }
.market-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 38px; border-top: 1px solid var(--market-line); padding-top: 22px; }
.market-scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; width: 54px; height: 54px; place-items: center; border: 0; border-radius: 18px; background: conic-gradient(var(--market-primary) var(--scroll-progress, 0deg), rgba(100, 116, 139, 0.18) 0deg); color: var(--market-primary); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease; box-shadow: 0 20px 46px rgba(30, 30, 45, 0.16); }
.market-scroll-top::before { content: ""; position: absolute; inset: 5px; border-radius: 14px; background: #fff; }
.market-scroll-top i { position: relative; z-index: 1; font-size: 23px; line-height: 1; }
.market-scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal-up { animation: marketReveal 0.58s ease both; }
@keyframes marketReveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media only screen and (max-width: 1199px) {
  .market-hero__grid { grid-template-columns: 1fr; }
  .market-hero__visual { max-width: 780px; margin-inline: auto; }
  .category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .business-grid, .product-grid, .benefit-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-section .steps-grid::before { display: none; }
}

@media only screen and (max-width: 991px) {
  .market-brand img { width: min(210px, 58vw); }
  .market-nav__actions { align-items: stretch; margin-top: 14px; }
  .market-nav__actions .market-btn, .market-nav__search { width: 100%; }
  .market-section__header--split, .market-section__header--compact, .seller-cta { display: block; }
  .seller-cta__actions { justify-content: flex-start; margin-top: 28px; }
}

@media only screen and (max-width: 767px) {
  .market-hero { min-height: auto; padding: 42px 0 42px; }
  .market-hero h1 { font-size: 44px; }
  .market-search { grid-template-columns: 24px minmax(0, 1fr); }
  .market-search__submit { grid-column: 1 / -1; margin-top: 4px; width: 100%; }
  .market-hero__actions .market-btn, .seller-cta__actions .market-btn { width: 100%; }
  .product-slider__controls { position: static; justify-content: flex-end; margin: -4px 0 12px; }
  .product-grid--featured .product-card { flex-basis: min(86vw, 330px); }
  .category-grid, .business-grid, .product-grid, .benefit-grid, .steps-grid, .story-grid, .market-footer__grid, .trust-band__grid { grid-template-columns: 1fr; }
  .landing-business-cover { padding-top: 16px; }
  .landing-business-cover__frame, .landing-business-cover__frame img, .landing-business-cover__fallback { min-height: 130px; }
  .hero-showcase { min-height: auto; display: grid; gap: 16px; }
  .hero-shape, .hero-brand-mark, .hero-verified { display: none; }
  .hero-store-card, .hero-floating-product { position: relative; inset: auto; width: 100%; }
  .hero-store-card { top: auto; left: auto; }
  .market-section { padding: 34px 0; }
  .market-footer__bottom { display: block; }
  .market-scroll-top { right: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 16px; }
  .market-scroll-top::before { border-radius: 12px; }
}
