body.marketplace-page {
	margin: 0;
	background: #f7f6fa;
	color: #24202c;
	font-family: Inter, Arial, sans-serif;
}

.marketplace-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px max(24px, calc((100vw - 1200px) / 2));
	background: #fff;
	box-shadow: 0 1px 8px #21143b12;
}

.marketplace-header a { color: #6d3bc1; font-weight: 700; text-decoration: none; }
.marketplace-main { width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 24px 48px; }
.marketplace-main h1 { margin: 0 0 24px; font-size: clamp(26px, 4vw, 38px); }
.marketplace-footer { flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin-top: auto; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 18px; }
.market-card { position: relative; overflow: hidden; border: 1px solid #ebe7f0; border-radius: 12px; background: #fff; transition: box-shadow .2s, transform .2s; }
.market-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px #24134714; }
.market-card-image { position: relative; display: block; aspect-ratio: 1.05; background: #f3f0fa; }
.market-card-image img { width: 100%; height: 100%; object-fit: cover; }
.market-badge { position: absolute; bottom: 10px; left: 10px; border-radius: 5px; padding: 5px 8px; background: #7142bd; color: white; font-size: 10px; font-weight: 700; }
.market-card-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.market-card-title { overflow: hidden; color: #24202c; font-size: 14px; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.market-card-body > strong { font-size: 19px; }
.market-card-shop, .market-shop-info a { color: #6940b5; font-size: 13px; font-weight: 600; text-decoration: none; }
.market-muted, .market-shop-info span, .market-shop-info small { color: #777180; font-size: 12px; }
.market-action { align-self: flex-end; border: 1px solid #e5dfef; border-radius: 7px; padding: 5px 10px; background: white; color: #777180; cursor: pointer; }
.market-action.is-active, .market-follow.is-active { color: #6d3bc1; }
.market-action:disabled, .market-follow:disabled { cursor: wait; opacity: .65; }
.market-shop-card { display: grid; width: 100%; min-width: 0; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 16px; box-sizing: border-box; border: 1px solid #ebe7f0; border-radius: 14px; padding: 16px; background: #fff; box-shadow: 0 3px 12px #24134708; transition: border-color .18s, box-shadow .18s; }
.market-shop-card:hover { border-color: #ded3ee; box-shadow: 0 7px 18px #24134712; }
.market-shop-card.is-followed { border-color: #e4d8f4; }
.market-shop-logo { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; overflow: hidden; border: 1px solid #eeeaf3; border-radius: 11px; background: #f7f4fb; color: #6940b5; font-size: 21px; font-weight: 700; text-decoration: none; }
.market-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.market-shop-info { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; gap: 5px; }
.market-shop-info .market-shop-heading { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.market-shop-info .market-shop-name { overflow: hidden; max-width: 100%; color: #2c2734; font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.market-shop-info .market-shop-verified, .market-shop-info .market-shop-followed-label { display: inline-flex; align-items: center; gap: 4px; color: #667386; font-size: 10px; font-weight: 700; line-height: 1.2; }
.market-shop-info .market-shop-verified .market-verified-badge { width: 14px; height: 14px; }
.market-shop-info .market-shop-followed-label { border-radius: 999px; padding: 4px 8px; background: #f3edfb; color: #6840ad; }
.market-shop-info .market-shop-category { overflow: hidden; max-width: 100%; color: #7a7186; font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.market-shop-info .market-shop-description { display: -webkit-box; overflow: hidden; max-width: 620px; margin: 0; color: #625d6a; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.market-shop-info .market-shop-meta { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.market-shop-info .market-shop-meta > span, .market-shop-info .market-shop-meta > small { overflow: hidden; max-width: 100%; color: #777180; font-size: 10px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.market-shop-info .market-shop-meta > span { color: #6840ad; font-weight: 600; }
.market-shop-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; }
.market-shop-explore { color: #6840ad; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.market-shop-explore:hover { color: #4f288f; }
.market-shop-actions .market-follow,
.market-seller-row .market-follow,
.market-shop-hero .market-follow { display: inline-flex; min-width: 104px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid #7142bd; border-radius: 999px; padding: 9px 17px; background: linear-gradient(135deg, #7142bd, #5c32a5); color: #fff; box-shadow: 0 4px 10px #7142bd30; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; transition: transform .16s, box-shadow .16s, background .16s; }
.market-shop-actions .market-follow:hover,
.market-seller-row .market-follow:hover,
.market-shop-hero .market-follow:hover { transform: translateY(-1px); background: linear-gradient(135deg, #6334ad, #4f288f); box-shadow: 0 6px 14px #7142bd40; }
.market-shop-actions .market-follow.is-active,
.market-seller-row .market-follow.is-active,
.market-shop-hero .market-follow.is-active { border-color: #ded2ef; background: #f4effa; color: #6840ad; box-shadow: none; }
.market-shop-actions .market-follow.is-active:hover,
.market-seller-row .market-follow.is-active:hover,
.market-shop-hero .market-follow.is-active:hover { background: #ece3f7; }
.market-shop-actions .market-follow:focus-visible,
.market-seller-row .market-follow:focus-visible,
.market-shop-hero .market-follow:focus-visible { outline: 3px solid #7142bd40; outline-offset: 2px; }
.market-primary-link { border: 1px solid #7650bd; border-radius: 7px; padding: 8px 12px; background: white; color: #6840ad; cursor: pointer; font-weight: 600; text-decoration: none; }
.marketplace-product-filters { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: -8px 0 20px; color: #625d6a; font-size: 13px; }
.marketplace-product-filters[hidden] { display: none; }
.marketplace-product-filters select { min-width: 200px; border: 1px solid #ded8e7; border-radius: 9px; padding: 10px 34px 10px 12px; background: #fff; color: #332e3b; font: inherit; cursor: pointer; }
.market-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); align-items: start; gap: clamp(24px, 4vw, 48px); padding: clamp(18px, 3vw, 32px); border: 1px solid #ebe7f0; border-radius: 16px; background: white; box-shadow: 0 8px 30px #2413470a; }
.market-product-media { min-width: 0; }
.market-product-carousel { position: relative; overflow: hidden; border: 1px solid #f0edf4; border-radius: 14px; background: #f7f5fa; touch-action: pan-y; }
.market-carousel-track { display: grid; min-height: 320px; aspect-ratio: 1 / .88; place-items: center; }
.market-product-slide { grid-area: 1 / 1; width: 100%; height: 100%; }
.market-product-slide[hidden] { display: none; }
.market-product-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.market-carousel-arrow { position: absolute; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; transform: translateY(-50%); border: 1px solid #e7e1ef; border-radius: 50%; background: #ffffffed; color: #514b5d; cursor: pointer; box-shadow: 0 3px 12px #21143b1c; transition: color .15s, background .15s, transform .15s; }
.market-carousel-arrow:hover { transform: translateY(-50%) scale(1.05); background: #fff; color: #7142bd; }
.market-carousel-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.market-carousel-prev { left: 14px; }
.market-carousel-next { right: 14px; }
.market-carousel-dots { position: absolute; right: 0; bottom: 14px; left: 0; display: flex; justify-content: center; gap: 7px; }
.market-carousel-dot { width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0; background: #a7a0b1; cursor: pointer; transition: width .18s, border-radius .18s, background .18s; }
.market-carousel-dot.is-active { width: 22px; border-radius: 8px; background: #7142bd; }
.market-product-description { margin-top: 22px; border: 1px solid #ebe7f0; border-radius: 12px; padding: 20px; background: #fff; }
.market-product-description h2 { margin: 0 0 12px; font-size: 18px; }
.market-product-description p { color: #625d6a; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.market-detail-copy { min-width: 0; }
.market-seller-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.market-seller-link { display: flex; min-width: 0; align-items: center; gap: 7px; color: #777180; font-size: 12px; text-decoration: none; }
.market-seller-link > strong { overflow: hidden; color: #686372; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.market-seller-logo { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; overflow: hidden; border: 1px solid #eeeaf3; border-radius: 50%; background: #f5f2f8; color: #817a8d; font-size: 12px; font-weight: 700; }
.market-seller-logo img { width: 100%; height: 100%; object-fit: cover; }
.market-verified-badge { width: 16px; height: 16px; flex: 0 0 16px; fill: #1d9bf0; }
.market-verified-check { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.market-product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.market-product-title-row h1 { min-width: 0; margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; overflow-wrap: anywhere; }
.market-product-title-row .market-product-favorite { position: relative; top: auto; right: auto; display: grid; width: 42px; height: 42px; min-width: 42px; min-height: 42px; flex: 0 0 42px; place-items: center; align-self: flex-start; margin: 0; border: 1px solid #e5dfef; border-radius: 50%; padding: 0; background: #fff; color: #6f6878; box-shadow: none; }
.market-product-title-row .market-product-favorite svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.market-product-title-row .market-product-favorite.is-active { border-color: #f2c5d1; background: #fff3f6; color: #e5486d; }
.market-product-title-row .market-product-favorite.is-active svg { fill: currentColor; }
.market-seller-row .market-follow { flex: 0 0 auto; }
.market-product-category { margin: 8px 0 18px; color: #888290; font-size: 13px; }
.market-product-policies { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 17px; }
.market-policy-item { display: inline-flex; align-items: center; gap: 7px; color: #4d4857; font-size: 13px; font-weight: 600; }
.market-policy-icon { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #7142bd; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.market-policy-icon.market-shipping-bolt { fill: #16a05d; stroke: #16a05d; }
.market-product-meta { margin: 0 0 14px; }
.market-product-meta > strong { display: block; margin-bottom: 7px; color: #777180; font-size: 12px; font-weight: 600; }
.market-chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.market-info-chip { border: 1px solid #e9e5ee; border-radius: 999px; padding: 6px 10px; background: #faf9fc; color: #514b5d; font-size: 12px; }
.market-icon-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.market-method-entry { display: inline-flex; min-width: 58px; flex-direction: column; align-items: center; }
.market-method-icon { display: grid; min-width: 58px; min-height: 42px; place-items: center; border: 1px solid #eeeaf3; border-radius: 8px; padding: 5px 8px; background: #fff; }
.market-method-icon img { display: block; max-width: 84px; width: auto; height: 30px; object-fit: contain; }
.market-method-icon img[hidden], .market-method-icon > span[hidden] { display: none; }
.market-method-icon.has-text-fallback { color: #514b5d; font-size: 11px; font-weight: 600; text-align: center; }
.market-payment-label { max-width: 90px; margin-top: 4px; color: #777180; font-size: 9px; font-weight: 600; line-height: 1.25; text-align: center; text-transform: uppercase; }
.market-detail-copy > .market-stock { margin: 4px 0 12px; font-size: 14px; font-weight: 700; }
.market-detail-copy .market-sales { margin: 0 0 13px; }
.market-detail-copy .market-sale { grid-template-columns: 1fr auto; align-items: center; border-color: #ebe7f0; padding: 12px 14px; }
.market-detail-copy .market-sale strong { color: #514b5d; font-size: 13px; }
.market-detail-copy .market-sale b { color: #24202c; font-size: 19px; }
.market-detail-copy .market-sale span { color: #85808d; }
.market-product-location { margin: 0 0 14px; color: #777180; font-size: 12px; }
.market-contact-actions { display: grid; gap: 10px; }
.market-contact-button { display: flex; min-height: 58px; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 11px; padding: 10px 14px; color: #fff; text-decoration: none; transition: filter .15s, transform .15s; }
.market-contact-button:hover { transform: translateY(-1px); filter: brightness(.96); }
.market-contact-button > svg { width: 25px; height: 25px; flex: 0 0 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.market-contact-button > span { display: flex; flex-direction: column; gap: 3px; }
.market-contact-button strong { font-size: 13px; }
.market-contact-button small { color: #ffffffde; font-size: 11px; }
.market-contact-whatsapp { background: #20a85a; }
.market-contact-instagram { background: linear-gradient(110deg, #7354c8, #d04489 60%, #ed8d43); }
.market-contact-button .market-instagram-dot { fill: currentColor; stroke: none; }
.market-commerce-link { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; border: 1px solid #e8e2f1; border-radius: 10px; padding: 12px 14px; color: #6840ad; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; }
.market-commerce-link:hover { border-color: #d7c8ed; background: #faf8fd; }
.market-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 12px; }
.market-gallery img { width: 100%; aspect-ratio: 1; border-radius: 10px; background: #f3f0fa; object-fit: cover; }
.market-detail-copy h1 { margin: 10px 0; }
.market-detail-copy p { line-height: 1.65; }
.market-sales { display: grid; gap: 10px; margin: 22px 0; }
.market-sale { display: grid; grid-template-columns: 1fr auto; gap: 6px; border: 1px solid #ebe7f0; border-radius: 9px; padding: 13px; }
.market-sale span { grid-column: 1 / -1; color: #777180; font-size: 13px; }
.market-section { margin-top: 36px; }
.market-section h2 { margin-bottom: 18px; }
.market-shop-page { display: grid; gap: 18px; }
.market-shop-profile-card { overflow: hidden; border: 1px solid #ebe7f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px #2413470a; }
.market-shop-hero { display: flex; align-items: center; gap: 20px; padding: clamp(20px, 3vw, 30px); background: linear-gradient(125deg, #fff 55%, #f7f2fd); }
.market-shop-detail-logo { display: grid; width: 104px; height: 104px; flex: 0 0 104px; place-items: center; overflow: hidden; border: 1px solid #eeeaf3; border-radius: 18px; background: #f3eefe; color: #7142bd; font-size: 38px; font-weight: 700; }
.market-shop-detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.market-shop-identity { min-width: 0; flex: 1; }
.market-shop-title-row { display: flex; align-items: center; gap: 9px; }
.market-shop-title-row h1 { min-width: 0; margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
.market-verified-label { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; color: #687587; font-size: 12px; font-weight: 600; }
.market-verified-label .market-verified-badge { width: 17px; height: 17px; }
.market-shop-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.market-shop-tags span { border: 1px solid #e9e2f3; border-radius: 999px; padding: 6px 10px; background: #fff; color: #6840ad; font-size: 12px; font-weight: 600; }
.market-shop-hero .market-follow { flex: 0 0 auto; min-width: 118px; min-height: 44px; }
.market-shop-details { padding: 0 clamp(20px, 3vw, 30px) 26px; }
.market-shop-about { padding: 22px 0; border-top: 1px solid #eeeaf3; }
.market-shop-about h2, .market-shop-info-section h2 { margin: 0 0 13px; font-size: 16px; }
.market-shop-description { margin: 0; color: #625d6a; font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.market-shop-address { display: flex; align-items: center; gap: 9px; margin-top: 15px; color: #4d4857; font-size: 13px; }
.market-shop-address > svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #7142bd; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.market-shop-address > span { display: flex; flex-wrap: wrap; gap: 5px 8px; }
.market-shop-address strong { color: #777180; }
.market-shop-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px 32px; padding-top: 22px; border-top: 1px solid #eeeaf3; }
.market-shop-info-section { min-width: 0; }
.market-shop-shipping-section { grid-column: 1 / -1; padding-top: 21px; border-top: 1px solid #eeeaf3; }
.market-shop-minimum-section { grid-column: 1 / -1; padding-top: 21px; border-top: 1px solid #eeeaf3; }
.market-shop-minimum-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.market-shop-minimum-list > div { display: flex; flex-direction: column; gap: 5px; border: 1px solid #ebe7f0; border-radius: 10px; padding: 12px; background: #faf9fc; }
.market-shop-minimum-list strong { color: #777180; font-size: 12px; }
.market-shop-minimum-list span { color: #393441; font-size: 13px; font-weight: 650; }
.market-shop-contact-actions { display: grid; gap: 9px; }
.market-shop-contact { display: flex; min-width: 0; min-height: 56px; align-items: center; gap: 11px; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; color: #fff; text-decoration: none; transition: transform .15s, filter .15s, box-shadow .15s; }
.market-shop-contact:hover { transform: translateY(-1px); filter: brightness(.96); box-shadow: 0 5px 14px #24134720; }
.market-shop-contact > svg { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.market-shop-contact > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.market-shop-contact strong { font-size: 13px; }
.market-shop-contact small { overflow: hidden; color: #ffffffed; font-size: 11px; text-overflow: ellipsis; }
.market-shop-contact-whatsapp { background: #25d366; }
.market-shop-contact-email { background: #3978c5; }
.market-shop-contact-instagram { background: linear-gradient(115deg, #7048c8, #c13584 58%, #f77737); }
.market-shop-contact .market-instagram-dot { fill: currentColor; stroke: none; }
.market-shop-hours { display: grid; }
.market-shop-hour { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #f0edf4; padding: 9px 0; color: #625d6a; font-size: 12px; }
.market-shop-hour:first-child { padding-top: 0; }
.market-shop-hour:last-child { border-bottom: 0; padding-bottom: 0; }
.market-shop-hour strong { color: #393441; font-size: 12px; text-align: right; }
.market-shop-policies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.market-shop-policy { display: flex; align-items: flex-start; gap: 9px; border: 1px solid #ebe7f0; border-radius: 10px; padding: 12px; background: #faf9fc; color: #8c8793; }
.market-shop-policy .market-policy-icon { flex: 0 0 19px; stroke: currentColor; }
.market-shop-policy .market-shipping-bolt { fill: none; }
.market-shop-policy.is-enabled { border-color: #d8efe2; background: #f5fbf7; color: #17834d; }
.market-shop-policy.is-enabled .market-shipping-bolt { fill: #16a05d; stroke: #16a05d; }
.market-shop-policy > span { display: flex; flex-direction: column; gap: 4px; }
.market-shop-policy strong { color: #393441; font-size: 12px; }
.market-shop-policy small { color: #777180; font-size: 11px; line-height: 1.4; }
.market-shop-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 18px; }
.market-shop-meta > div > strong { display: block; margin-bottom: 8px; color: #777180; font-size: 12px; }
.market-shop-no-data { margin: 0; color: #85808d; font-size: 12px; line-height: 1.5; }
.market-empty { padding: 24px; border-radius: 10px; background: white; color: #777180; }
.market-search-section { margin-bottom: 32px; }
.market-shop-list { display: grid; width: 100%; min-width: 0; gap: 14px; }
.market-search-results { display: block; width: 100%; min-width: 0; }
.market-search-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; border-bottom: 1px solid #e9e4ef; }
.market-search-tab { display: inline-flex; align-items: center; gap: 8px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; background: transparent; color: #777180; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; transition: color .15s, border-color .15s; }
.market-search-tab:hover, .market-search-tab.is-active { color: #6840ad; }
.market-search-tab.is-active { border-bottom-color: #7142bd; }
.market-search-tab > span { display: inline-grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; padding: 0 6px; background: #f1edf7; color: #6840ad; font-size: 11px; }
.market-search-panel[hidden] { display: none; }
.market-search-category-list { display: grid; gap: 14px; }
.market-category-result { display: flex; flex-direction: column; gap: 8px; border: 1px solid #ebe7f0; border-radius: 10px; padding: 18px; background: #fff; color: #302b38; text-decoration: none; }
.market-category-result span { color: #6d3bc1; font-size: 13px; }
.market-category-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-category-result-heading > strong { color: #2c2734; font-size: 16px; }
.market-category-result-heading > a { color: #6840ad; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.market-category-result .market-search-subcategories { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid #f0edf4; padding-top: 12px; }
.market-search-subcategories > span { margin-right: 2px; color: #777180; font-size: 11px; font-weight: 600; }
.market-category-result .market-search-subcategories > a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e9e3f0; border-radius: 999px; padding: 7px 11px; background: #faf8fc; color: #514b5d; font-size: 12px; text-decoration: none; }
.market-category-result .market-search-subcategories > a:hover { border-color: #d7c8ed; background: #f4effa; color: #6840ad; }
.market-category-result .market-search-subcategories > a > span { color: #8c7ba6; font-size: 12px; }
.market-category-result .market-category-result-empty { color: #777180; font-size: 12px; }
.market-category-result-error { margin: 0; color: #9b4b24; font-size: 12px; line-height: 1.5; }
.market-category-directory { display: block; }
.market-category-intro { margin-bottom: 22px; border-radius: 16px; padding: clamp(20px, 4vw, 34px); background: linear-gradient(120deg, #21103f, #57349b); color: #fff; }
.market-category-intro > span { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.market-category-intro p { max-width: 650px; margin: 8px 0 0; color: #ffffffc7; font-size: 14px; line-height: 1.6; }
.market-category-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.market-category-card { min-width: 0; border: 1px solid #e9e4ef; border-radius: 14px; padding: 17px; background: linear-gradient(155deg, hsl(var(--category-hue, 270), 70%, 97%), #fff 70%); box-shadow: 0 5px 18px #24134708; transition: transform .18s, box-shadow .18s; }
.market-category-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #24134712; }
.market-category-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.market-category-card-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: hsl(var(--category-hue, 270), 62%, 88%); color: hsl(var(--category-hue, 270), 52%, 38%); font-size: 20px; font-weight: 800; }
.market-category-card-kicker { color: #81798c; font-size: 10px; font-weight: 600; text-align: right; }
.market-category-card h2 { margin: 16px 0 6px; color: #2d2737; font-size: 18px; }
.market-category-card p { min-height: 38px; margin: 0 0 14px; color: #777180; font-size: 12px; line-height: 1.55; }
.market-category-expand { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 1px solid #e5d9f4; border-radius: 8px; padding: 9px 11px; background: #fff; color: #6840ad; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; text-align: left; text-decoration: none; }
.market-category-expand:hover { border-color: #cdb9e8; background: #faf7fd; }
.market-category-expand:disabled { cursor: wait; opacity: .7; }
.market-category-expand[aria-expanded="true"] > span { transform: rotate(180deg); }
.market-category-expand > span { font-size: 16px; transition: transform .15s; }
.market-category-children { display: grid; gap: 6px; margin-top: 10px; }
.market-category-children[hidden] { display: none; }
.market-category-children > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 7px; padding: 8px 9px; background: #f8f6fb; color: #514b5d; font-size: 12px; text-decoration: none; }
.market-category-children > a:hover { background: #f0eafa; color: #6840ad; }
.market-category-children > a span { color: #8c7ba6; }
.market-category-loading { color: #81798c; font-size: 11px; line-height: 1.5; }
.market-skeleton-category { display: flex; min-height: 190px; flex-direction: column; gap: 12px; }
.market-skeleton-category-icon { width: 48px; height: 48px; border-radius: 14px; }
.market-skeleton-category .market-skeleton-line { width: 72%; height: 11px; border-radius: 6px; }
.market-skeleton-category .market-skeleton-line-short { width: 48%; }
.market-skeleton-category .market-skeleton-button { width: 100%; height: 34px; margin-top: auto; border-radius: 8px; }
.market-stock { display: inline-block; margin: 5px 0; font-size: 14px; }
.market-stock.is-available { color: #16804a; }
.market-stock.is-unavailable { color: #b42318; }
.market-contact { display: inline-block; margin: 6px 10px 6px 0; color: #6840ad; font-size: 14px; font-weight: 600; text-decoration: none; }
.market-confirm-dialog { width: min(440px, calc(100% - 32px)); margin: auto; border: 1px solid #ebe7f0; border-radius: 18px; padding: 28px; color: #24202c; background: #fff; box-shadow: 0 24px 80px #21143b33; }
.market-confirm-dialog::backdrop { background: #17122180; backdrop-filter: blur(3px); }
.market-confirm-dialog form { display: flex; flex-direction: column; align-items: flex-start; }
.market-confirm-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #f3eefe; color: #7142bd; font-size: 22px; }
.market-confirm-dialog h2 { margin: 18px 0 8px; font-size: 20px; }
.market-confirm-dialog p { color: #777180; font-size: 14px; line-height: 1.55; }
.market-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; width: 100%; margin-top: 24px; }
.market-confirm-actions button { border: 1px solid #e5dfef; border-radius: 8px; padding: 10px 14px; background: #fff; color: #514b5d; cursor: pointer; font: inherit; font-weight: 600; }
.market-confirm-actions .market-confirm-submit { border-color: #7142bd; background: #7142bd; color: #fff; }
.market-confirm-actions .market-confirm-submit:hover { background: #5d32a5; }
.customer-profile { position: relative; flex: 0 0 auto; }
.customer-profile[hidden] { display: none; }
.customer-profile-trigger { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; border: 2px solid #e5d9fa; border-radius: 50%; padding: 0; background: #f3eefe; color: #7142bd; cursor: pointer; transition: border-color .18s, box-shadow .18s; }
.customer-profile-trigger:hover, .customer-profile.is-open .customer-profile-trigger { border-color: #7142bd; box-shadow: 0 0 0 3px #7142bd1f; }
.customer-profile-trigger img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.customer-profile-fallback { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.customer-profile-fallback::after { position: absolute; right: -5px; bottom: -8px; left: -5px; height: 8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 10px 10px 0 0; content: ""; }
.customer-profile-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 300; width: 190px; padding: 7px; border: 1px solid #ebe7f0; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px #21143b24; animation: customer-menu-enter .16s ease-out; }
.customer-profile-menu[hidden] { display: none; }
.customer-profile-logout { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 8px; padding: 11px 12px; background: transparent; color: #b42318; cursor: pointer; text-align: left; font: inherit; font-weight: 600; }
.customer-profile-logout svg { width: 18px; height: 18px; flex: 0 0 18px; }
.customer-profile-logout:hover { background: #fff1f0; }
.has-customer-session .topbar { padding-right: 14px; }
.has-customer-session .top-nav { margin-left: auto; }
.comerciante-card[hidden] { display: none !important; }
@keyframes customer-menu-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
	.market-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 22px; }
	.market-carousel-track { min-height: 270px; }
}
@media (max-width: 700px) {
	.marketplace-header { padding: 16px 20px; }
	.marketplace-main { padding: 22px 16px 32px; }
	.marketplace-footer { padding: 16px; }
	.market-detail-grid { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
	.market-carousel-track { min-height: 240px; }
	.market-product-description { margin-top: 16px; padding: 16px; }
	.market-shop-hero { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
	.market-shop-card { grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 11px; padding: 13px; }
	.market-shop-logo { width: 46px; height: 46px; flex-basis: 46px; }
	.market-shop-info { flex-basis: calc(100% - 57px); }
	.market-shop-info .market-shop-name { font-size: 14px; }
	.market-shop-actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
	.market-shop-actions .market-follow { min-width: 100px; min-height: 38px; padding: 8px 14px; }
	.marketplace-product-filters { align-items: flex-start; flex-direction: column; margin: -8px 0 18px; }
	.marketplace-product-filters select { width: 100%; }
	.market-shop-detail-logo { width: 76px; height: 76px; flex-basis: 76px; border-radius: 14px; font-size: 30px; }
	.market-shop-identity { min-width: calc(100% - 94px); }
	.market-shop-hero .market-follow { min-width: 112px; margin-left: auto; }
	.market-shop-info-grid { grid-template-columns: 1fr; gap: 14px; }
	.market-shop-details { padding: 0 18px 20px; }
	.market-shop-shipping-section, .market-shop-minimum-section { grid-column: auto; }
	.market-shop-policies, .market-shop-meta { grid-template-columns: 1fr; }
	.market-shop-minimum-list { grid-template-columns: 1fr; }
	.market-confirm-dialog { padding: 22px; }
	.market-confirm-actions { flex-direction: column-reverse; }
	.market-confirm-actions button { width: 100%; }
}

@media (max-width: 520px) {
	.marketplace-main { padding: 18px 12px 28px; }
	.marketplace-main h1 { margin-bottom: 16px; font-size: 25px; }
	.market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
	.market-grid > .market-empty { grid-column: 1 / -1; }
	.market-card { border-radius: 10px; }
	.market-card-body { gap: 6px; padding: 10px; }
	.market-card-title { font-size: 12px; }
	.market-card-body > strong { font-size: 16px; }
	.market-card-shop { font-size: 11px; }
	.market-card-image { aspect-ratio: .95; }
	.market-badge { bottom: 7px; left: 7px; padding: 4px 6px; font-size: 9px; }
	.market-category-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
	.market-category-card { padding: 12px; }
	.market-category-card h2 { margin-top: 12px; font-size: 15px; }
	.market-category-card p { min-height: 0; font-size: 11px; }
	.market-search-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-bottom: 16px;
		scrollbar-width: none;
	}
	.market-search-tabs::-webkit-scrollbar { display: none; }
	.market-search-tab { flex: 0 0 auto; padding: 11px 12px; font-size: 12px; }
	.market-category-result { padding: 13px; }
	.market-category-result-heading { align-items: flex-start; }
	.market-category-result-heading > strong { font-size: 14px; }
	.market-detail-grid { padding: 12px; border-radius: 12px; }
	.market-carousel-track { min-height: 210px; }
	.market-carousel-arrow { width: 38px; height: 38px; }
	.market-product-description { padding: 13px; }
	.market-shop-details { padding: 0 12px 16px; }
	.market-shop-hero .market-follow { min-height: 42px; }
	.market-shop-list { gap: 10px; }
	.market-shop-card { gap: 9px; padding: 11px; }
	.market-shop-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
	.market-shop-actions .market-follow { min-height: 42px; }
	.market-shop-actions .market-shop-explore { margin-right: auto; }
	.market-shop-minimum-list { grid-template-columns: 1fr; }
	.market-shop-contact { min-height: 52px; }
	.market-confirm-dialog { width: calc(100vw - 24px); max-width: none; padding: 18px; }
}

@media (max-width: 360px) {
	.market-grid { gap: 7px; }
	.market-card-body { padding: 8px; }
	.market-category-card-grid { grid-template-columns: 1fr; }
}

.mobile-market-brand,
.mobile-market-favorites,
.mobile-market-nav,
.marketplace-footer-nav { display: none; }

@media (max-width: 768px) {
	.marketplace-page .sidebar { display: none; }
	.marketplace-page .main-wrapper {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		padding-bottom: 0;
	}
	.marketplace-page .topbar {
		position: sticky;
		top: 0;
		z-index: 90;
		display: grid;
		grid-template-areas:
			"brand account"
			"search favorites"
			"navigation navigation";
		grid-template-columns: minmax(0, 1fr) 42px;
		gap: 8px 10px;
		border-bottom: 1px solid #e8e4ed;
		padding: 9px 14px 0;
		background: #fff;
		box-shadow: 0 3px 12px #2413470a;
	}
	.mobile-market-brand {
		display: inline-flex;
		grid-area: brand;
		min-width: 0;
		align-items: center;
		gap: 7px;
		color: #2c2734;
		font-size: 13px;
		font-weight: 700;
		letter-spacing: .02em;
		text-decoration: none;
	}
	.mobile-market-brand img { width: 31px; height: 31px; object-fit: contain; }
	.mobile-market-brand strong { color: #7142bd; }
	.mobile-market-favorites {
		display: grid;
		grid-area: favorites;
		width: 42px;
		height: 42px;
		place-items: center;
		border: 1px solid #e7e1ef;
		border-radius: 12px;
		background: #fff;
		color: #6840ad;
		text-decoration: none;
	}
	.mobile-market-favorites svg { width: 21px; height: 21px; }
	.mobile-market-favorites[aria-current="page"] {
		border-color: #e2d5f3;
		background: #f5f0fb;
		color: #6335a6;
	}
	.marketplace-page .search-bar {
		grid-area: search;
		width: 100%;
		max-width: none;
		min-width: 0;
		height: 42px;
		border: 1px solid #ded9e6;
		border-radius: 11px;
		padding-left: 11px;
		background: #f8f7fa;
	}
	.marketplace-page .search-bar input {
		width: 100%;
		min-width: 0;
		height: 40px;
		padding: 8px 6px;
		font-size: 16px;
	}
	.marketplace-page .search-icon-left { width: 15px; height: 15px; margin-right: 5px; }
	.marketplace-page .btn-buscar {
		width: 38px;
		height: 40px;
		justify-content: center;
		border-radius: 0 10px 10px 0;
		padding: 0;
		font-size: 0;
	}
	.marketplace-page .btn-buscar svg { width: 18px; height: 18px; }
	.mobile-market-nav {
		display: flex;
		grid-area: navigation;
		min-width: 0;
		gap: 22px;
		overflow-x: auto;
		padding: 2px 2px 0;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}
	.mobile-market-nav::-webkit-scrollbar { display: none; }
	.mobile-market-nav a {
		position: relative;
		display: inline-flex;
		min-height: 38px;
		flex: 0 0 auto;
		align-items: center;
		color: #615b69;
		font-size: 12px;
		font-weight: 650;
		text-decoration: none;
		white-space: nowrap;
	}
	.mobile-market-nav a[aria-current="page"] { color: #6335a6; }
	.mobile-market-nav a[aria-current="page"]::after {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		height: 2px;
		border-radius: 2px 2px 0 0;
		background: #7142bd;
		content: "";
	}
	.marketplace-page .top-nav {
		grid-area: account;
		display: flex;
		width: auto;
		align-items: center;
		justify-content: flex-end;
		gap: 0;
		margin: 0;
	}
	.marketplace-page .top-nav > a,
	.marketplace-page .top-nav .btn-solid { display: none; }
	.marketplace-page .top-nav .btn-outline {
		min-height: 34px;
		border: 0;
		padding: 6px 8px;
		font-size: 11px;
		white-space: nowrap;
	}
	.marketplace-page .customer-profile-trigger { width: 36px; height: 36px; }
	.marketplace-page .customer-profile-menu { top: calc(100% + 7px); }
	.marketplace-page .content { padding-right: 14px; padding-left: 14px; }
	.marketplace-page .marketplace-main { padding: 20px 14px 30px; }
	.marketplace-page .marketplace-main h1 { margin-bottom: 15px; font-size: 24px; }
	.marketplace-page .marketplace-footer {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		gap: 11px;
		padding: 20px 16px calc(22px + env(safe-area-inset-bottom));
		font-size: 11px;
	}
	.marketplace-footer-nav {
		display: flex;
		width: 100%;
		flex-wrap: wrap;
		gap: 10px 18px;
		border-top: 1px solid #eeeaf2;
		margin-top: 4px;
		padding-top: 13px;
	}
	.marketplace-footer-nav a { color: #6840ad; font-weight: 600; }
	.marketplace-page .hero-banner {
		margin-top: 12px;
		margin-bottom: 20px;
		border-radius: 14px;
		padding: 21px 16px 16px;
	}
	.marketplace-page .hero-text { margin-bottom: 16px; }
	.marketplace-page .hero-text h1 { margin-bottom: 6px; font-size: clamp(23px, 6vw, 29px); }
	.marketplace-page .hero-text p { max-width: 34ch; font-size: 12px; line-height: 1.5; }
	.marketplace-page .hero-categories {
		flex-wrap: nowrap;
		gap: 9px;
		overflow-x: auto;
		padding: 0 1px 5px;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}
	.marketplace-page .hero-categories::-webkit-scrollbar { display: none; }
	.marketplace-page .hero-category-item { min-width: 64px; flex: 0 0 64px; }
	.marketplace-page .hero-category-icon { width: 43px; height: 43px; }
	.marketplace-page .hero-category-name { max-width: 64px; font-size: 10px; }
	.marketplace-page .section-block { border-radius: 13px; padding: 15px; }
	.marketplace-page .section-header { align-items: flex-start; gap: 10px; }
	.marketplace-page .section-header h2 { font-size: 14px; }
	.marketplace-page .ver-todos { flex: 0 0 auto; font-size: 11px; }
	.marketplace-page .products-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.marketplace-page .products-row > .market-card { min-width: 0; }
	.marketplace-page .market-card { border-radius: 11px; }
	.marketplace-page .market-card-image { aspect-ratio: 1 / 1; background: #fff; }
	.marketplace-page .market-card-image img { object-fit: contain; padding: 8px; }
	.marketplace-page .market-card-body { position: static; gap: 6px; padding: 10px; }
	.marketplace-page .market-card-body .market-action {
		position: absolute;
		top: 8px;
		right: 8px;
		display: grid;
		width: 34px;
		height: 34px;
		place-items: center;
		border: 1px solid #eeeaf2;
		border-radius: 50%;
		padding: 0;
		background: #fff;
		box-shadow: 0 2px 8px #2413471a;
		font-size: 19px;
	}
	.marketplace-page .market-card-title {
		display: -webkit-box;
		overflow: hidden;
		font-size: 12px;
		line-height: 1.4;
		white-space: normal;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
	.marketplace-page .market-card-body > strong { font-size: 17px; }
	.marketplace-page .market-card-shop { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
	.marketplace-page .market-card-body .market-muted { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
	.marketplace-page .market-badge { bottom: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 6px; font-size: 8px; }
	.marketplace-page .two-col-layout { gap: 0; }
	.marketplace-page .right-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.marketplace-page .comerciante-card { min-width: 0; }
}

@media (max-width: 390px) {
	.marketplace-page .topbar { gap: 7px 8px; padding-right: 10px; padding-left: 10px; }
	.mobile-market-nav { gap: 18px; }
	.mobile-market-nav a { font-size: 11px; }
	.marketplace-page .marketplace-main { padding-right: 10px; padding-left: 10px; }
	.marketplace-page .products-row { gap: 8px; }
	.marketplace-page .market-card-body { padding: 8px; }
	.marketplace-page .market-card-body > strong { font-size: 16px; }
}
