/* Página pública da loja do vendedor (/loja/<nome>), pop-up "Divulgar loja" e peças novas do painel "Perfil da loja".
   Usa as variáveis do tema (--ink, --line, --paper...), então o modo escuro entra junto. */

body.is-store-page .product-card__seller { display: none; }
.store-page { padding-bottom: 4rem; }
.store-banner { width: 100%; max-width: 1600px; margin: 0 auto; aspect-ratio: 4 / 1; overflow: hidden; background: var(--mist); }
.store-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.store-banner--empty { background: radial-gradient(60% 120% at 12% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 60%), radial-gradient(50% 110% at 92% 100%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(120deg, #8cc3ff 0%, #5aa7ff 50%, #b9dcff 100%); }
.store-shell { position: relative; }
.store-head { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 1.2rem; margin-top: -2.6rem; padding-bottom: 1.4rem; }
.store-avatar { display: grid; place-items: center; width: 6rem; height: 6rem; overflow: hidden; border: 4px solid var(--paper); border-radius: 50%; background: linear-gradient(var(--brand-pale), var(--brand-pale)), var(--paper); color: var(--brand); font-size: 2.2rem; font-weight: 700; box-shadow: 0 6px 18px rgba(20, 30, 50, .14); }
.store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-head__info { min-width: 0; padding-top: 2.8rem; }
.store-name { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.store-stats { display: flex; flex-wrap: wrap; gap: .45rem .9rem; margin-top: .55rem; color: var(--ink-soft); font-size: .88rem; }
.store-stat { display: inline-flex; align-items: center; gap: .3rem; }
.store-stat b { color: var(--ink); }
.store-stat--muted { color: var(--muted); }
.store-stat--online { color: #13a775; font-weight: 600; }
.store-stat--online i { width: .5rem; height: .5rem; border-radius: 50%; background: #13a775; }
.store-stat .store-star { color: #f5a524; }
.store-bio { max-width: 62ch; margin: .8rem 0 0; color: var(--ink-soft); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.store-head__actions { padding-top: 3rem; }
.store-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.6rem; padding: 0 1.2rem; border: 1px solid var(--brand); border-radius: .7rem; background: var(--brand); color: #fff; font: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.store-btn:hover { background: var(--brand-dark); }
.store-btn--ghost { background: transparent; color: var(--brand); }
.store-btn--ghost:hover { background: var(--brand-pale); }

.store-stars { display: inline-flex; gap: 1px; }
.store-stars__item { color: var(--line-strong); display: inline-flex; }
.store-stars__item.is-on { color: #f5a524; }

.store-tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.store-tabs button { position: relative; padding: .8rem 1rem; border: 0; background: none; color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; }
.store-tabs button span { margin-left: .25rem; padding: .05rem .45rem; border-radius: 99px; background: var(--mist); color: var(--muted); font-size: .75rem; }
.store-tabs button[aria-selected="true"] { color: var(--brand); }
.store-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); }

.store-filters { display: flex; gap: .7rem; margin-bottom: 1.1rem; }
.store-search, .store-select { min-height: 2.7rem; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: .7rem; background: var(--paper); color: var(--ink); font: inherit; font-size: .9rem; }
.store-search { flex: 1; min-width: 0; }
.store-select { max-width: 14rem; }

.store-empty { margin: 3rem auto; max-width: 34rem; padding: 2rem; text-align: center; color: var(--ink-soft); }
.store-empty h1 { margin: 0 0 .6rem; color: var(--ink); font-size: 1.5rem; }
.store-empty--inline { margin: 1.5rem auto; padding: 1.2rem; border: 1px dashed var(--line-strong); border-radius: .9rem; }
.store-skeleton-block, .store-skeleton-line { background: var(--mist); animation: store-pulse 1.2s ease-in-out infinite; }
.store-skeleton-line { height: 1rem; width: 14rem; max-width: 80%; margin-bottom: .6rem; border-radius: .4rem; }
.store-skeleton-line.is-curto { width: 8rem; }
@keyframes store-pulse { 50% { opacity: .55; } }

.store-rating { display: grid; grid-template-columns: 11rem 1fr; gap: 2rem; align-items: center; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.store-rating__avg { display: grid; justify-items: center; gap: .25rem; color: var(--ink-soft); font-size: .85rem; }
.store-rating__avg strong { font-size: 2.6rem; line-height: 1; color: var(--ink); }
.store-rating__bars { display: grid; gap: .35rem; }
.store-bar { display: grid; grid-template-columns: .8rem 1rem 1fr 2rem; align-items: center; gap: .45rem; font-size: .8rem; color: var(--ink-soft); }
.store-bar .store-star { color: #f5a524; width: 12px; height: 12px; }
.store-bar__track { height: .5rem; overflow: hidden; border-radius: 99px; background: var(--mist); }
.store-bar__track i { display: block; height: 100%; background: #f5a524; }
.store-bar em { font-style: normal; text-align: right; }
.store-reviews { display: grid; gap: .8rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.store-review { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); }
.store-review__top { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; color: var(--ink); font-size: .9rem; }
.store-review__top time { margin-left: auto; color: var(--muted); font-size: .78rem; }
.store-review p { margin: .55rem 0 0; color: var(--ink-soft); line-height: 1.5; overflow-wrap: anywhere; }
.store-review small { display: block; margin-top: .5rem; color: var(--muted); }
.store-more { display: flex; justify-content: center; margin-top: 1.2rem; }

/* pop-up Divulgar loja: janela no desktop, folha que sobe do rodapé no celular */
.store-share { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 1rem; }
.store-share__backdrop { position: absolute; inset: 0; background: rgba(10, 14, 22, .55); }
.store-share__sheet { position: relative; width: min(30rem, 100%); padding: 1.3rem; border-radius: 1.1rem; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); animation: store-pop .18s ease-out; }
.store-share__grip { display: none; }
.store-share__head { display: flex; align-items: center; justify-content: space-between; }
.store-share__head h2 { margin: 0; font-size: 1.2rem; }
.store-share__x { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.store-share__sheet p { margin: .6rem 0 1rem; color: var(--ink-soft); font-size: .9rem; }
.store-share__link { display: flex; gap: .5rem; }
.store-share__link input { flex: 1; min-width: 0; min-height: 2.6rem; padding: 0 .8rem; border: 1px solid var(--line-strong); border-radius: .7rem; background: var(--mist); color: var(--ink); font: inherit; font-size: .85rem; }
.store-share__native { width: 100%; margin-top: .7rem; }
.store-share__status { display: block; min-height: 1.2rem; margin-top: .6rem; color: #13a775; font-size: .82rem; }
@keyframes store-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* peças novas do painel "Perfil da loja" */
.seller-profile-card__bannerbox { display: grid; gap: .6rem; margin-bottom: 1rem; }
.seller-profile-card__banner { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 1; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: .9rem; background: var(--mist); color: var(--muted); font-size: .85rem; }
.seller-profile-card__banner.has-image { border-style: solid; }
.seller-profile-card__banner img { width: 100%; height: 100%; object-fit: cover; }
.seller-profile-card__banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.seller-profile-card__banner-actions small { flex-basis: 100%; color: var(--muted); }
.seller-profile-card__address { display: grid; gap: .35rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--mist); }
.seller-profile-card__address span { color: var(--muted); font-size: .75rem; }
.seller-profile-card__address code { color: var(--ink); font-size: .9rem; overflow-wrap: anywhere; }
.seller-profile-card__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }

/* cartão "Vendido por": link para a loja */
.seller-card__store-link { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: .9rem; min-height: 2.5rem; border: 1px solid var(--line-strong); border-radius: .7rem; color: var(--brand); font-size: .85rem; font-weight: 600; text-decoration: none; }
.seller-card__store-link:hover { background: var(--brand-pale); }
a.seller-card__avatar { text-decoration: none; }
.seller-card__name a { color: inherit; text-decoration: none; }
.seller-card__name a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .store-banner { aspect-ratio: 2 / 1; min-height: 110px; }
  .store-head { grid-template-columns: auto 1fr; margin-top: -2rem; gap: .9rem; }
  .store-avatar { width: 4.8rem; height: 4.8rem; font-size: 1.7rem; }
  .store-head__info { padding-top: 2rem; }
  .store-head__actions { grid-column: 1 / -1; padding-top: 0; }
  .store-head__actions .store-btn { width: 100%; }
  .store-filters { flex-direction: column; }
  .store-select { max-width: none; }
  .store-rating { grid-template-columns: 1fr; gap: 1rem; }
  .store-share { place-items: end center; padding: 0; }
  .store-share__sheet { width: 100%; border-radius: 1.2rem 1.2rem 0 0; padding-bottom: calc(1.3rem + env(safe-area-inset-bottom)); animation: store-sheet .22s ease-out; }
  .store-share__grip { display: block; width: 2.6rem; height: .3rem; margin: -.4rem auto .8rem; border-radius: 99px; background: var(--line-strong); }
}
@keyframes store-sheet { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .store-share__sheet, .store-skeleton-block, .store-skeleton-line { animation: none; } }

/* resposta da loja nas avaliações públicas */
.store-review__reply { margin-top: .7rem; padding: .7rem .9rem; border-left: 3px solid var(--brand); border-radius: .5rem; background: var(--mist); }
.store-review__reply b { font-size: .78rem; color: var(--brand); }
.store-review__reply p { margin: .25rem 0 0; }

/* painel do vendedor: links de divulgação e respostas */
.store-tools { display: grid; gap: 1rem; margin-top: 1rem; }
.store-tools__block { padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.store-tools__block h3 { margin: 0 0 .3rem; font-size: 1.05rem; color: var(--ink); }
.store-tools__block > p { margin: 0 0 .9rem; color: var(--ink-soft); font-size: .88rem; }
.store-tools__form { display: flex; gap: .6rem; margin-bottom: .4rem; }
.store-tools__form input, .store-tools__block textarea { min-width: 0; padding: .6rem .8rem; border: 1px solid var(--line-strong); border-radius: .7rem; background: var(--paper); color: var(--ink); font: inherit; font-size: .9rem; }
.store-tools__form input { flex: 1; }
.store-tools__block textarea { width: 100%; resize: vertical; }
.store-tools__hint { display: block; margin: .4rem 0; color: var(--muted); font-size: .76rem; }
.store-tools__empty { margin: .6rem 0; color: var(--muted); font-size: .88rem; }
.store-tools__scroll { overflow-x: auto; margin-top: .6rem; }
.store-tools__table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.store-tools__table th { padding: .5rem .6rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 600; text-align: left; white-space: nowrap; }
.store-tools__table td { padding: .65rem .6rem; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.store-tools__table td b { display: block; }
.store-tools__table td code { display: block; color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
.store-tools__table td small { display: block; color: var(--muted); font-size: .72rem; }
.store-tools__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; white-space: nowrap; }
.store-tools__reviews { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.store-tools__reviews li { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.store-tools__reviews li > p { margin: .45rem 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.store-tools__rtop { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .88rem; color: var(--ink); }
.store-tools__rtop small { color: var(--muted); }
.store-tools__stars { color: #f5a524; letter-spacing: 1px; }
.store-tools__reply { padding: .6rem .8rem; border-left: 3px solid var(--brand); border-radius: .5rem; background: var(--mist); }
.store-tools__reply p { margin: .2rem 0 .4rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.store-tools__notice { min-height: 1.2rem; margin: 0; color: var(--brand); font-size: .85rem; }
@media (max-width: 640px) { .store-tools__form { flex-direction: column; } }

/* ---- Acabamento: fonte Inter (a mesma da loja e do menu lateral), espaçamentos e responsividade ---- */
.seller-profile-card, .store-tools, .store-page, .store-share { font-family: var(--font-gt-standard, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif); }
.seller-profile-card :is(input, textarea, select, button), .store-tools :is(input, textarea, select, button), .store-page :is(input, textarea, select, button), .store-share :is(input, textarea, button) { font-family: inherit; }
.seller-profile-card .button, .store-tools .button { font-weight: 600; letter-spacing: 0; }

.seller-profile-card__main { gap: 1.8rem; padding: 1.6rem; }
.seller-profile-card__head h2 { font-size: 1.15rem; font-weight: 700; }
.seller-profile-card__head p:not(.section-kicker) { font-size: .85rem; line-height: 1.5; margin-top: .25rem; }
.seller-profile-card__bannerbox { gap: .9rem; margin-bottom: 0; }
.seller-profile-card__banner-actions { gap: .8rem 1.2rem; }
.seller-profile-card__banner-actions small { margin-top: .1rem; font-size: .78rem; line-height: 1.5; }
.seller-profile-card__body { gap: 2rem; }
.seller-profile-card__photo { gap: .8rem; padding: 1.2rem 1rem; }
.seller-profile-card__photo small { font-size: .74rem; }
.seller-profile-card__remove { font-size: .8rem; }
.seller-profile-card__form { gap: 1.1rem; }
.seller-profile-card__form label { gap: .5rem; font-size: .88rem; font-weight: 600; }
.seller-profile-card__form small { font-size: .76rem; line-height: 1.5; }
.seller-profile-card__form input[name=store_name] { padding: 0 1rem; font-size: .95rem; font-weight: 500; border-radius: .8rem; }
.seller-profile-card__form textarea { width: 100%; min-height: 7.5rem; padding: .85rem 1rem; border: 1px solid var(--line-strong); border-radius: .8rem; background: #f8fafd; color: var(--ink); font-size: .92rem; line-height: 1.55; resize: vertical; }
.seller-profile-card__form textarea::placeholder, .store-tools textarea::placeholder, .store-tools input::placeholder { color: var(--muted); opacity: 1; }
.seller-profile-card__form textarea:focus { border-color: var(--brand); outline: 0; background: #fff; box-shadow: 0 0 0 3px rgba(22, 119, 244, .14); }
.seller-profile-card__address { gap: .6rem; padding: 1.1rem 1.2rem; border-radius: .9rem; }
.seller-profile-card__address span { font-size: .8rem; }
.seller-profile-card__address code { font-family: inherit; font-size: .95rem; font-weight: 500; }
.seller-profile-card__links { gap: .8rem; margin-top: .6rem; }
.seller-profile-card__links .button, .seller-profile-card__banner-actions .button { min-height: 2.7rem; padding: 0 1.5rem; font-size: .8rem; }
.seller-profile-card__switch-text b { font-size: .88rem; }
.seller-profile-card__switch-text em { font-size: .78rem; line-height: 1.4; }
.seller-profile-card__form button[type=submit] { margin-top: .6rem; min-height: 2.9rem; }

.store-tools { gap: 1.4rem; margin-top: 1.4rem; }
.store-tools__block { padding: 1.6rem; border-radius: 1.1rem; }
.store-tools__block h3 { margin-bottom: .4rem; font-size: 1.1rem; font-weight: 700; }
.store-tools__block > p { margin-bottom: 1.2rem; font-size: .9rem; line-height: 1.55; }
.store-tools__form { gap: .8rem; margin-bottom: .6rem; }
.store-tools__form input { min-height: 2.8rem; padding: 0 1rem; border-radius: .8rem; font-size: .92rem; }
.store-tools__form .button, .store-tools__block .button { min-height: 2.8rem; padding: 0 1.4rem; font-size: .8rem; }
.store-tools__block textarea { min-height: 5.5rem; margin-bottom: .9rem; padding: .8rem 1rem; border-radius: .8rem; font-size: .92rem; line-height: 1.5; }
.store-tools__hint { margin: .6rem 0; font-size: .78rem; line-height: 1.5; }
.store-tools__scroll { margin-top: 1rem; }
.store-tools__table { font-size: .9rem; }
.store-tools__table th { padding: .7rem .9rem; font-size: .76rem; }
.store-tools__table td { padding: .9rem; }
.store-tools__table td code { margin-top: .2rem; font-size: .76rem; }
.store-tools__actions { gap: .6rem 1.1rem; }
.store-tools__picks { display: grid; gap: .5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.store-tools__picks label { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: .8rem; font-size: .9rem; cursor: pointer; }
.store-tools__picks input { width: 1.1rem; height: 1.1rem; accent-color: var(--brand); }
.store-tools__reviews { gap: 1rem; }
.store-tools__reviews li { padding: 1.1rem 1.2rem; }
.store-tools__rtop { gap: .4rem .8rem; font-size: .92rem; }
.store-tools__reviews li > p { margin: .6rem 0 .8rem; font-size: .92rem; line-height: 1.55; }
.store-tools__reply { padding: .8rem 1rem; }
.store-tools__reply p { margin: .3rem 0 .6rem; font-size: .9rem; }
.store-tools [data-review-form] .store-tools__actions { margin-top: .2rem; }
.store-tools__notice { font-size: .88rem; }

/* selos e destaques na loja pública */
.store-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.store-badge { padding: .3rem .75rem; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--mist); color: var(--ink-soft); font-size: .78rem; font-weight: 600; }
.store-head__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.store-highlights { margin-bottom: 2rem; }
.store-highlights h2 { margin: 0 0 1rem; font-size: 1.15rem; color: var(--ink); }

@media (max-width: 900px) {
  .seller-profile-card { grid-template-columns: 1fr; }
  .seller-profile-card__preview { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .seller-profile-card__main { padding: 1.1rem; gap: 1.4rem; }
  .seller-profile-card__body { grid-template-columns: 1fr; gap: 1.4rem; }
  .seller-profile-card__links, .seller-profile-card__banner-actions { flex-direction: column; align-items: stretch; }
  .seller-profile-card__links .button, .seller-profile-card__banner-actions .button, .seller-profile-card__form button[type=submit] { width: 100%; }
  .seller-profile-card__banner-actions .seller-profile-card__remove { text-align: center; padding: .4rem 0; }
  .store-tools__block { padding: 1.1rem; }
  .store-tools__form .button { width: 100%; }
  .store-tools__table thead { display: none; }
  .store-tools__table, .store-tools__table tbody, .store-tools__table tr, .store-tools__table td { display: block; width: 100%; }
  .store-tools__table tr { margin-bottom: .9rem; padding: .9rem; border: 1px solid var(--line); border-radius: .9rem; }
  .store-tools__table td { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border: 0; text-align: right; }
  .store-tools__table td::before { content: attr(data-label); color: var(--muted); font-size: .78rem; font-weight: 600; text-align: left; }
  .store-tools__table td:first-child { display: block; text-align: left; }
  .store-tools__table td:first-child::before, .store-tools__table td.store-tools__actions::before { content: none; }
  .store-tools__table td.store-tools__actions { justify-content: flex-start; padding-top: .7rem; }
  .store-head__actions .store-btn { flex: 1; }
}
@media (max-width: 640px) {
  .store-tools__table td::before { flex: 1; }
  .store-tools__table td small { margin-left: .5rem; }
}

/* escolha de destaques: grade com busca e rolagem (funciona com 50+ produtos) */
.store-tools__pickhead { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.store-tools__search { flex: 1; min-width: 0; max-width: 22rem; min-height: 2.6rem; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: .8rem; background: var(--paper, #fff); color: var(--ink); font-size: .9rem; }
.store-tools__search:focus { border-color: var(--brand); outline: 0; box-shadow: 0 0 0 3px rgba(22, 119, 244, .14); }
.store-tools__count { margin-left: auto; padding: .3rem .75rem; border-radius: 99px; background: var(--mist); color: var(--ink-soft); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.store-tools__picks { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); max-height: 17rem; overflow-y: auto; padding: .2rem .3rem .2rem 0; }
.store-tools__picks li[hidden] { display: none; }
.store-tools__picks label { height: 100%; }
.store-tools__picks label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-tools__picks label:has(input:checked) { border-color: var(--brand); background: rgba(22, 119, 244, .07); }
@media (max-width: 640px) {
  .store-tools__pickhead { flex-wrap: wrap; }
  .store-tools__search { max-width: none; flex-basis: 100%; }
  .store-tools__picks { grid-template-columns: 1fr; max-height: 20rem; }
}
.store-tools__picks.is-full label:not(:has(input:checked)) { opacity: .5; cursor: not-allowed; }
.store-tools__picks.is-full label:not(:has(input:checked)) input { cursor: not-allowed; }

/* sem a coluna de prévia: o cartão ocupa a largura toda; endereços na fonte padrão */
.seller-profile-card { grid-template-columns: minmax(0, 1fr); }
.seller-profile-card__preview { display: none; }
.seller-profile-card code, .store-tools code, .store-page code, .store-share code, .seller-profile-card code b { font-family: inherit; }
.seller-profile-card__address code { overflow-wrap: anywhere; word-break: break-word; line-height: 1.4; }
.seller-profile-card__address code b { font-weight: 700; }
.seller-profile-card__links .button { flex: 0 0 auto; }
.seller-profile-card__body { grid-template-columns: 12rem minmax(0, 1fr); }
.seller-profile-card__address { max-width: 100%; }
.seller-profile-card__links { flex-wrap: wrap; }
@media (max-width: 640px) { .seller-profile-card__body { grid-template-columns: 1fr; } }

/* links de divulgação: lista enxuta */
.store-tools__links { display: grid; gap: .6rem; margin: 1.1rem 0 .4rem; padding: 0; list-style: none; }
.store-tools__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .9rem; }
.store-tools__linkinfo { display: grid; gap: .15rem; min-width: 0; }
.store-tools__linkinfo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; color: var(--ink); }
.store-tools__linkinfo span { color: var(--muted); font-size: .82rem; }
.store-tools__link .store-tools__actions { display: flex; align-items: center; gap: .9rem; flex: 0 0 auto; }
.store-tools__link .button { min-height: 2.3rem; padding: 0 1.1rem; }
@media (max-width: 640px) {
  .store-tools__link { flex-direction: column; align-items: stretch; }
  .store-tools__link .store-tools__actions { justify-content: space-between; }
  .store-tools__link .button { flex: 1; }
}

/* lápis e pop-up de edição do link */
.store-tools__iconbtn { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink-soft, var(--ink)); cursor: pointer; }
.store-tools__iconbtn:hover { border-color: var(--brand); color: var(--brand); background: rgba(22, 119, 244, .07); }
.store-tools__off { margin-left: .4rem; padding: .1rem .5rem; border-radius: 99px; background: var(--mist); color: var(--muted); font-size: .7rem; font-style: normal; font-weight: 600; vertical-align: middle; }
.store-tools__link.is-off .store-tools__linkinfo { opacity: .6; }
.store-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; background: rgba(15, 20, 30, .5); font-family: var(--font-gt-standard, Inter, ui-sans-serif, system-ui, sans-serif); }
.store-modal__box { position: relative; width: min(26rem, 100%); padding: 1.6rem; border-radius: 1.1rem; background: var(--paper, #fff); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.store-modal__box h3 { margin: 0 2rem .5rem 0; font-size: 1.1rem; font-weight: 700; }
.store-modal__text { margin: 0 0 1.3rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.store-modal__close { position: absolute; top: .8rem; right: .9rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.store-modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.store-modal__actions .button { flex: 1; min-height: 2.7rem; padding: 0 1.2rem; font-size: .82rem; font-weight: 600; }
.store-modal__danger { border: 1px solid #d93a3a; background: #d93a3a; color: #fff; }
.store-modal__danger:hover { background: #c22d2d; }

/* recorte do banner */
.banner-crop { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 1rem; background: rgba(15, 20, 30, .6); font-family: var(--font-gt-standard, Inter, ui-sans-serif, system-ui, sans-serif); }
.banner-crop__box { width: min(46rem, 100%); max-height: 100%; overflow: auto; padding: 1.5rem; border-radius: 1.1rem; background: var(--paper, #fff); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.banner-crop__box h3 { margin: 0 0 .3rem; font-size: 1.15rem; font-weight: 700; }
.banner-crop__box p { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.banner-crop__view { position: relative; width: 100%; aspect-ratio: 4 / 1; overflow: hidden; border-radius: .8rem; background: #000; cursor: grab; touch-action: none; user-select: none; }
.banner-crop__view.is-drag { cursor: grabbing; }
.banner-crop__view img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.banner-crop__zoom { display: flex; align-items: center; gap: .9rem; margin: 1.1rem 0; font-size: .85rem; font-weight: 600; }
.banner-crop__zoom input { flex: 1; accent-color: var(--brand); }
.banner-crop__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }
.banner-crop__actions .button { min-height: 2.7rem; padding: 0 1.4rem; font-size: .82rem; font-weight: 600; }
@media (max-width: 640px) { .banner-crop__box { padding: 1.1rem; } .banner-crop__actions .button { flex: 1; } }

/* recorte do banner: grade, faixa do celular e prévias */
.banner-crop__box { position: relative; width: min(48rem, 100%); }
.banner-crop__x { position: absolute; top: 1rem; right: 1.1rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.banner-crop__x:hover { background: var(--mist); color: var(--ink); }
.banner-crop__box h3 { margin-right: 2.4rem; }
.banner-crop__view { box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 8px 24px rgba(15, 20, 40, .18); }
.banner-crop__grid, .banner-crop__safe { position: absolute; inset: 0; pointer-events: none; }
.banner-crop__grid[hidden], .banner-crop__safe[hidden] { display: none; }
.banner-crop__grid i { position: absolute; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.banner-crop__grid i:nth-child(1), .banner-crop__grid i:nth-child(2) { top: 0; bottom: 0; width: 1px; }
.banner-crop__grid i:nth-child(1) { left: 33.333%; }
.banner-crop__grid i:nth-child(2) { left: 66.666%; }
.banner-crop__grid i:nth-child(3), .banner-crop__grid i:nth-child(4) { left: 0; right: 0; height: 1px; }
.banner-crop__grid i:nth-child(3) { top: 33.333%; }
.banner-crop__grid i:nth-child(4) { top: 66.666%; }
.banner-crop__grid b { position: absolute; background: rgba(255, 214, 10, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.banner-crop__grid b:nth-child(5) { left: 50%; top: 0; bottom: 0; width: 1px; }
.banner-crop__grid b:nth-child(6) { top: 50%; left: 0; right: 0; height: 1px; }
.banner-crop__safe { display: grid; grid-template-columns: 25% 1fr 25%; }
.banner-crop__safe span { background: rgba(0, 0, 0, .5); }
.banner-crop__safe span:first-child { border-right: 2px dashed rgba(255, 255, 255, .85); }
.banner-crop__safe span:last-child { border-left: 2px dashed rgba(255, 255, 255, .85); }
.banner-crop__safe em { align-self: end; justify-self: center; margin-bottom: .45rem; padding: .15rem .6rem; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .7rem; font-style: normal; font-weight: 600; }
.banner-crop__tools { display: flex; align-items: center; gap: 1rem; margin: 1.1rem 0 .6rem; }
.banner-crop__tools .banner-crop__zoom { flex: 1; margin: 0; }
.banner-crop__reset { padding: .45rem .9rem; border: 1px solid var(--line-strong); border-radius: 99px; background: transparent; color: var(--ink); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.banner-crop__reset:hover { border-color: var(--brand); color: var(--brand); }
.banner-crop__toggles { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 1.1rem; color: var(--ink-soft, var(--ink)); font-size: .82rem; }
.banner-crop__toggles label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.banner-crop__toggles input { accent-color: var(--brand); }
.banner-crop__previews { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 1rem; margin-bottom: 1.3rem; padding: 1rem; border-radius: .9rem; background: var(--mist); }
.banner-crop__previews figure { display: grid; gap: .4rem; margin: 0; }
.banner-crop__previews canvas { display: block; width: 100%; height: auto; border-radius: .6rem; background: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.banner-crop__previews figcaption { color: var(--muted); font-size: .74rem; font-weight: 600; text-align: center; }
@media (max-width: 640px) {
  .banner-crop__previews { grid-template-columns: 1.6fr 1fr; padding: .8rem; gap: .7rem; }
  .banner-crop__tools { flex-wrap: wrap; }
}

/* envio do banner: spinner -> check verde */
.seller-profile-card__banner { position: relative; }
.banner-status { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: .7rem; border-radius: inherit; background: rgba(250, 251, 253, .97); backdrop-filter: blur(3px); animation: banner-status-in .2s ease-out; }
.banner-status__icon { position: relative; width: 3.2rem; height: 3.2rem; }
.banner-status__icon svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s ease, transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.banner-status__spin { animation: banner-status-spin 1s linear infinite; }
.banner-status__spin circle { stroke: var(--brand, #1677f4); stroke-linecap: round; stroke-dasharray: 90 150; }
.banner-status__ok { opacity: 0; transform: scale(.4); }
.banner-status__ok circle { fill: #13a775; }
.banner-status__ok path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.banner-status.is-done .banner-status__spin { opacity: 0; transform: scale(.6); animation-play-state: paused; }
.banner-status.is-done .banner-status__ok { opacity: 1; transform: scale(1); }
.banner-status.is-done .banner-status__ok path { animation: banner-status-draw .4s .15s ease-out forwards; }
.banner-status__text { color: var(--ink); font-size: .85rem; font-weight: 600; }
.banner-status.is-done .banner-status__text { color: #0e8a60; }
@keyframes banner-status-spin { to { transform: rotate(360deg); } }
@keyframes banner-status-draw { to { stroke-dashoffset: 0; } }
@keyframes banner-status-in { from { opacity: 0; } to { opacity: 1; } }
html[data-theme="dark"] .banner-status { background: rgba(20, 22, 28, .97); }
@media (prefers-reduced-motion: reduce) { .banner-status__spin { animation-duration: 2.4s; } .banner-status__ok path { animation-duration: .01s; } }

/* banner da loja com bordas arredondadas, solto da borda da tela */
.store-banner { width: min(1600px, calc(100% - 2rem)); margin: .8rem auto 0; border-radius: 1.2rem; }
@media (max-width: 640px) { .store-banner { border-radius: 1rem; } }
