.store-home-section[hidden], .store-footer [hidden],
[data-product-page] .store-home-section, [data-category-selected] .store-home-section {
  display: none;
}
.store-home-section {
  width: min(90%, 1320px);
  margin: 0 auto;
  padding-block: 36px;
  scroll-margin-top: 86px;
}
.store-home-section h2 {
  margin: 0 0 16px;
  color: var(--store-ink);
  font: 750 clamp(24px, 2.8vw, 38px)/1.15 'DM Sans', system-ui, sans-serif;
}
[data-theme="original"] .store-home-section h2 { color: var(--store-on-dark); }
.store-category-tiles, .store-launch-items {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}
.store-category-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.store-launch-items { grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 1fr)); }
.store-category-tile, .store-launch-item {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-tile-surface, var(--store-surface));
  color: var(--store-tile-ink, var(--store-ink));
  text-decoration: none;
}
.store-launch-item { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.store-tile-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--store-tile-media, var(--store-media));
}
.store-tile-visual img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.store-tile-visual svg { width: 65%; height: 78%; }
.store-launch-item .store-tile-visual { aspect-ratio: auto; height: clamp(160px, 22vw, 260px); }
.store-tile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: clamp(12px, 2vw, 24px);
}
.store-tile-copy strong { font-size: clamp(17px, 1.65vw, 24px); line-height: 1.2; letter-spacing: -.018em; overflow-wrap: anywhere; }
.store-tile-detail { font-size: 14px; }
.store-launch-item .store-tile-detail { font-size: 16px; font-weight: 700; }
.store-tile-action {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  margin-top: 7px;
  color: var(--store-tile-action, var(--store-button));
  font-size: 14px;
  font-weight: 700;
}
.store-tile-action::after {
  content: '';
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10.5M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 160ms ease;
}
:is(.store-category-tile, .store-launch-item):hover .store-tile-action { text-decoration: underline; text-underline-offset: 3px; }
[data-theme="studio"] .store-home-section {
  padding-block: clamp(28px, 4vw, 56px) 0;
}
[data-theme="studio"] .store-home-section h2 {
  padding-top: 18px;
  border-top: 1px solid var(--store-border);
  margin-bottom: clamp(16px, 2vw, 24px);
  letter-spacing: -.025em;
}
[data-theme="studio"] .store-category-tiles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
[data-theme="studio"] .store-category-tile {
  grid-template-columns: minmax(0, min(38%, 128px)) minmax(0, 1fr);
}
[data-theme="studio"] .store-launch-item {
  grid-template-columns: minmax(0, min(45%, 212px)) minmax(0, 1fr);
}
[data-theme="studio"] .store-tile-visual {
  aspect-ratio: 3 / 4;
  align-self: center;
}
[data-theme="studio"] .store-launch-item .store-tile-visual { height: auto; }
[data-theme="studio"] .store-launch-item .store-tile-detail {
  font-size: clamp(18px, 1.6vw, 22px);
  font-variant-numeric: tabular-nums;
}
[data-theme="studio"] .store-category-tile .store-tile-copy strong { font-size: clamp(18px, 1.45vw, 22px); }
[data-theme="studio"] .store-home-section :is(.store-category-tile, .store-launch-item):focus-visible {
  outline: 2px solid var(--store-tile-action, var(--store-button));
  outline-offset: 4px;
}
@media (max-width: 560px) {
  [data-theme="studio"] .store-category-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  [data-theme="studio"] .store-category-tile { grid-template-columns: 92px minmax(0, 1fr); min-height: 124px; border-radius: 10px; }
  [data-theme="studio"] .store-category-tile .store-tile-visual { height: 124px; aspect-ratio: auto; align-self: stretch; }
  [data-theme="studio"] .store-category-tile .store-tile-visual img { width: 88%; height: 88%; object-fit: contain; }
  [data-theme="studio"] .store-category-tile .store-tile-copy { gap: 5px; padding: 12px 14px; }
  [data-theme="studio"] .store-category-tile .store-tile-copy strong { font-size: 18px; }
  [data-theme="studio"] .store-category-tile .store-tile-detail,
  [data-theme="studio"] .store-category-tile .store-tile-action { font-size: 13px; }
  [data-theme="studio"] .store-launch-items { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  [data-theme="studio"] .store-launch-item { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); min-height: 136px; }
  [data-theme="studio"] .store-launch-item .store-tile-visual { height: 136px; aspect-ratio: auto; }
  [data-theme="studio"] .store-launch-item .store-tile-visual img { width: 88%; height: 88%; object-fit: contain; }
  [data-theme="studio"] .store-launch-item .store-tile-copy { padding: 12px 14px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.store-category-tile, .store-launch-item):hover .store-tile-action::after { transform: translateX(4px); }
}
.studio-masthead { position: relative; isolation: isolate; overflow: hidden; }
.store-masthead-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .17; z-index: -1; }
.wordmark.has-store-logo > span { display: none; }
.store-brand-logo { width: auto; max-width: 160px; height: 40px; object-fit: contain; }

body .store-footer {
  display: block;
  height: auto;
  padding: 38px max(5%, calc((100% - 1320px) / 2)) 86px;
  background: var(--store-dark);
  color: var(--store-on-dark);
}
html[data-theme] body .store-footer { background: var(--store-dark); color: var(--store-on-dark); }
.store-footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 24px 40px; }
.store-footer .wordmark, .store-footer a:not(.wordmark) { color: var(--store-on-dark); }
.store-footer .wordmark .lime, .store-footer .wordmark small { color: var(--store-accent); }
.store-footer .wordmark .mark { color: var(--store-on-accent); background: var(--store-accent); border-color: var(--store-accent); }
.store-footer nav, .store-footer-shopping, #store-footer-categories, #store-footer-links { display: grid; gap: 8px; align-content: start; }
.store-footer h2 { margin: 0; font-size: 16px; }
.store-footer a:not(.wordmark) { width: fit-content; font-size: 14px; text-decoration: none; }
.store-footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 3px; }
.store-footer-shopping button { width: fit-content; padding: 7px 11px; border: 1px solid var(--store-border); border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.store-footer-shopping button:hover { border-color: var(--store-accent); }
.store-footer p { max-width: 35ch; font-size: 15px; }
.store-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--store-border); margin-top: 28px; padding-top: 15px; font-size: 14px; }

#store-appearance-fields { display: grid; gap: 10px; }
.store-editor-group { padding: 10px; border: 1px solid #cbd8c4; border-radius: 8px; }
.store-editor-group[open] > summary { margin-bottom: 10px; }
.store-editor-group > :is(label, button, div), #store-appearance-fields label + label { margin-top: 8px; }
.store-palette-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
#banner-form .store-editor-check { display: flex; align-items: center; }
#banner-form .store-palette-fields input[type="color"] { padding: 3px; cursor: pointer; }

:root[data-custom-palette] {
  --lime: var(--store-accent);
  --studio-ink: var(--store-ink);
  --studio-paper: var(--store-page);
  --studio-accent: var(--store-button);
  --studio-border: var(--store-border);
}
html[data-theme][data-custom-palette] :is(body, .catalog) { background: var(--store-page); color: var(--store-ink); }
html[data-theme][data-custom-palette] :is(.product-detail, .product-info h3, .product-info > strong, .catalog-heading h2, .detail-options legend) { color: var(--store-ink); }
html[data-theme][data-custom-palette] .store-home-section h2 { color: var(--store-ink); }
html[data-theme][data-custom-palette] :is(.product-category, .product-meta, .detail-summary, .catalog-tools) { color: var(--store-muted); }
html[data-theme][data-custom-palette] :is(.site-header, .category-nav.open, .shop-hero, .studio-collection, .bag-trigger) { background: var(--store-dark); color: var(--store-on-dark); }
html[data-theme][data-custom-palette] :is(.site-header .wordmark, .site-header .wordmark small, .mobile-menu, .category-nav a, .search-box input, .shop-hero h1, .shop-hero .hero-copy > p:not(.eyebrow)) { color: var(--store-on-dark); }
html[data-theme][data-custom-palette] .search-box { background: var(--store-dark); border-color: var(--store-border); }
html[data-theme][data-custom-palette] .search-box input::placeholder { color: var(--store-on-dark); }
html[data-theme][data-custom-palette] :is(.studio-masthead, .hero-link, .studio-collection-copy a, .bag-trigger b) { background: var(--store-accent); color: var(--store-on-accent); }
html[data-theme][data-custom-palette] .studio-masthead-copy > span { color: var(--store-on-accent); }
html[data-theme][data-custom-palette] :is(.product-visual, .product-gallery-stage, .hero-art, .studio-collection-art, .mini-art) { background: var(--store-media); }
html[data-theme][data-custom-palette] :is(.cart-drawer, .cart-summary, .quick-controls, .product-card, #banner-editor) { background: var(--store-surface); color: var(--store-ink); }
html[data-theme][data-custom-palette] :is(.quick-add:not(:disabled), .checkout-button, .detail-add, .studio-masthead a) { background: var(--store-button); color: var(--store-on-button); }
html[data-theme][data-custom-palette] :is(.product-card, .quick-toggle, .detail-variants button, .detail-sizes button, .detail-stepper, .drawer-heading, .cart-line) { border-color: var(--store-border); }

/* Brand tokens also apply before the merchant chooses a custom palette. */
:root {
  --lime: var(--store-accent, #d4af57);
}
[data-theme="studio"] .search-box > svg { flex-shrink: 0; }
[data-theme="studio"] .shop-hero { border-radius: 4px; }
[data-theme="studio"] .product-visual { aspect-ratio: 1; }
[data-theme="studio"] .shop-hero .eyebrow { display: none; }
[data-theme="studio"] .hero-copy { padding: clamp(28px, 4vw, 64px); }
[data-theme="studio"] .hero-tee { filter: none; }
[data-theme="studio"] .hero-art::after { display: none; }
[data-theme="studio"] .has-supplier-photo .hero-tee img { object-fit: contain; }
[data-theme="studio"] .product-tag { display: none; }
.photo-reference { margin: 8px 0 0; color: var(--store-muted); font-size: 12px; line-height: 1.5; }
.store-photo-credits { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 12px; }
.store-photo-credits a { text-underline-offset: 3px; }
[data-theme="studio"] .mobile-filters button { border-radius: 4px; }
[data-theme="studio"] .mobile-filters button.selected { background: var(--store-dark); color: var(--store-on-dark); border-color: var(--store-dark); }
[data-theme="studio"] .store-category-tile,
[data-theme="studio"] .store-launch-item { border-radius: 4px; }
::selection { background: var(--store-accent); color: var(--store-on-accent); }
.detail-related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--store-border); }
.detail-related h2 { margin: 0 0 20px; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
/* A foto da coleção cobre o cartão inteiro e se dilui para a direita (antes ficava num retângulo com borda dura atrás do título). */
[data-theme="studio"] .studio-collection:not([hidden]) { position: relative; isolation: isolate; overflow: hidden; }
.studio-collection-copy { position: static; }
.studio-collection-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .3; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, transparent 62%); }
@media (min-width: 961px) {
  .product-detail-copy { position: sticky; top: 100px; align-self: start; }
}
[data-store-runtime="true"] .demo-notice { display: none !important; }


/* Link "Pular para os produtos": só aparece quando recebe foco do teclado (em qualquer largura). */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-200%); padding: 12px 16px; background: #d4af57; color: #11120f; font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }
/* Acesso discreto do lojista ao painel, no rodapé. */
.store-footer-bottom { flex-wrap: wrap; gap: 8px 20px; }
.store-admin-link { opacity: .7; font-size: 12px; text-underline-offset: 3px; }
.store-admin-link:hover, .store-admin-link:focus-visible { opacity: 1; }

/* Botão de WhatsApp acima da sacola (desktop) / do botão de sacola (celular). */
.whatsapp-float { position: fixed; z-index: 11; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 9px 30px rgb(17 17 17 / 28%); text-decoration: none; transition: transform .15s; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: scale(1.06); }
@media (max-width: 800px) { .whatsapp-float { right: 14px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 64px); width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; } }

/* Faixa de demonstração (some quando os dados de exemplo são removidos). */
.demo-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 9px 16px; background: #11120f; color: #faf9f6; font-size: 13px; line-height: 1.4; text-align: center; }
.demo-bar a { color: #d4af57; font-weight: 700; text-underline-offset: 3px; }

/* Topo organizado (17/11/2026): sem faixa amarela repetindo o nome da loja nem convite ao painel.
   O cabeçalho é o topo: logo, categorias, busca e Minha conta. */
.studio-masthead { display: none !important; }
.site-header .customer-account-link { color: var(--store-on-dark, #faf9f6); opacity: .92; }
.site-header .customer-account-link:hover, .site-header .customer-account-link:focus-visible { color: var(--store-accent, #d4af57); opacity: 1; }
/* Rodapé: formas de pagamento, selo de segurança e dados legais */
.store-footer-trust { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-top: 30px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--store-on-dark) 14%, transparent); }
.store-footer-trust h2 { margin-bottom: 12px !important; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-badges li { line-height: 0; }
.pay-badges svg { width: 48px; height: 30px; border-radius: 5px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--store-on-dark) 18%, transparent); }
.store-footer .store-footer-secure { display: flex; align-items: center; gap: 8px; max-width: none; margin: 0; font-size: 13px; opacity: .8; }
#store-footer-legal { opacity: .7; font-size: 13px; }
#store-footer-legal:empty { display: none; }
/* Busca no celular: só a lupa (o campo cortado mostrava "Busc"); ao tocar, o campo abre por cima. */
@media (max-width: 520px) {
  html[data-theme="studio"] .search-box { position: relative; flex: 0 0 40px; width: 40px; height: 44px; justify-content: center; padding: 6px; }
  html[data-theme="studio"] .search-box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  html[data-theme="studio"] .search-box:focus-within { position: absolute; z-index: 5; right: 58px; width: min(220px, calc(100vw - 150px)); background: var(--store-dark); }
  html[data-theme="studio"] .search-box:focus-within input { position: static; opacity: 1; }
}
/* Sugestões da busca (todos os temas): segue a paleta da loja. */
.search-suggest { position: fixed; z-index: 60; max-height: min(70vh, 560px); overflow: auto; padding: 8px; border: 1px solid var(--store-border, #dedbd4); border-radius: 12px; background: var(--store-surface, #fff); color: var(--store-ink, #11120f); box-shadow: 0 24px 60px rgb(0 0 0 / .28); }
.search-suggest[hidden] { display: none; }
.search-suggest a { color: inherit; text-decoration: none; }
.search-suggest-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 6px 10px; border-bottom: 1px solid var(--store-border, #dedbd4); }
.search-suggest-cats > span { width: 100%; color: var(--store-muted, #59564f); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.search-suggest-cats a { padding: 6px 12px; border: 1px solid var(--store-border, #dedbd4); border-radius: 999px; font-size: 13px; font-weight: 600; }
.search-suggest-cats a:hover, .search-suggest-cats a.is-active { border-color: var(--store-accent, #d4af57); color: var(--store-accent, #d4af57); }
.search-suggest-products { display: grid; gap: 2px; padding: 6px 0; }
.search-suggest-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; }
.search-suggest-item:hover, .search-suggest-item.is-active { background: color-mix(in srgb, var(--store-ink, #11120f) 7%, transparent); }
.search-suggest-item img { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; background: var(--store-media, #f4f3f0); }
.search-suggest-copy { display: grid; gap: 3px; min-width: 0; }
.search-suggest-copy strong { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.search-suggest-copy small { overflow: hidden; color: var(--store-muted, #59564f); font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-suggest-item b { color: var(--store-accent, #11120f); font-size: 15px; white-space: nowrap; }
html:not([data-layout]) .search-suggest-item b { color: var(--store-ink, #11120f); }
.search-suggest-all { display: block; padding: 10px 8px 6px; border-top: 1px solid var(--store-border, #dedbd4); font-size: 13px; font-weight: 700; }
.search-suggest-all:hover, .search-suggest-all.is-active { color: var(--store-accent, #d4af57); }
.search-suggest-empty { margin: 0; padding: 14px 8px; color: var(--store-muted, #59564f); font-size: 14px; }
/* Linha da sugestão com compra: link (foto + textos + preço) e a ação ao lado. */
.search-suggest-item { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 6px 8px; }
.search-suggest-link { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; border-radius: 8px; }
.search-suggest-link.is-active { outline: 2px solid var(--store-accent, #d4af57); outline-offset: 2px; }
.search-suggest-copy b { color: var(--store-accent, #11120f); font-size: 14px; }
html:not([data-layout]) .search-suggest-copy b { color: var(--store-ink, #11120f); }
.search-suggest-buy { display: flex; align-items: center; }
.search-suggest-buy button { display: grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--store-border, #dedbd4); border-radius: 10px; background: transparent; color: var(--store-ink, #11120f); font: 700 18px/1 system-ui, sans-serif; cursor: pointer; }
.search-suggest-add, .search-suggest-choose { background: var(--store-button, #191919) !important; color: var(--store-on-button, #fff) !important; border-color: var(--store-button, #191919) !important; }
.search-suggest-choose { padding: 0 14px; font-size: 13px !important; font-weight: 700; }
.search-suggest-stepper { display: flex; align-items: center; gap: 4px; }
.search-suggest-stepper span { min-width: 26px; text-align: center; font-weight: 800; font-size: 15px; }
.search-suggest-buy button:hover { border-color: var(--store-accent, #d4af57); }
.search-suggest-note { color: var(--store-muted, #59564f); font-size: 12px; white-space: nowrap; }
/* O botão flutuante da sacola só existe no celular; no computador a sacola fica no cabeçalho. */
@media (min-width: 801px) { .mobile-bag-fab { display: none !important; } }
/* Crédito da plataforma no rodapé de toda loja. */
.store-footer .store-credit { opacity: .7; font-size: 13px; }
.store-footer .store-credit:hover { opacity: 1; }
.store-footer .store-credit strong { font-weight: 700; }
/* Sacola, avisos e janelas sempre acima de qualquer cabeçalho (há temas com menu fixo por cima do banner). */
.scrim { z-index: 100 !important; }
.toast { z-index: 110 !important; }
/* Janela de atendimento pelo WhatsApp (abre pelo botão flutuante; o envio abre o WhatsApp). */
button.whatsapp-float { border: 0; cursor: pointer; font: inherit; }
.whatsapp-chat { position: fixed; z-index: 12; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 136px); width: min(360px, calc(100vw - 28px)); overflow: hidden; border-radius: 16px; background: #fff; color: #1d2621; box-shadow: 0 24px 60px rgb(0 0 0 / .28); opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .18s ease, transform .18s ease; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.whatsapp-chat.is-open { opacity: 1; transform: none; }
.whatsapp-chat[hidden] { display: none; }
.whatsapp-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075e54; color: #fff; }
.whatsapp-chat-head div { display: grid; flex: 1; min-width: 0; }
.whatsapp-chat-head strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.whatsapp-chat-head small { opacity: .85; font-size: 12px; }
.whatsapp-chat-avatar { display: grid; flex: none; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #fff; color: #075e54; font-weight: 800; }
.whatsapp-chat-avatar img { width: 100%; height: 100%; object-fit: contain; }
.whatsapp-chat-close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.whatsapp-chat-body { display: grid; gap: 12px; padding: 16px; background: #efeae2; }
.whatsapp-chat-bubble { justify-self: start; max-width: 88%; margin: 0; padding: 10px 12px; border-radius: 0 12px 12px 12px; background: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / .08); font-size: 14px; line-height: 1.4; }
.whatsapp-chat-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.whatsapp-chat-quick button { padding: 8px 12px; border: 1px solid #25d366; border-radius: 999px; background: #fff; color: #075e54; font-size: 13px; font-weight: 600; cursor: pointer; }
.whatsapp-chat-quick button:hover { background: #e7fbe9; }
.whatsapp-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid #e6e6e6; background: #fff; }
.whatsapp-chat-form textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 10px 12px; border: 1px solid #d6d6d6; border-radius: 12px; color: #1d2621; font: 16px/1.35 system-ui, sans-serif; resize: none; }
.whatsapp-chat-form textarea:focus { outline: 2px solid #25d366; outline-offset: 0; border-color: transparent; }
.whatsapp-chat-send { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: #25d366; color: #fff; font-weight: 700; cursor: pointer; }
.whatsapp-chat-send svg { width: 18px; height: 18px; }
.whatsapp-chat-note { margin: 0; padding: 0 12px 10px; background: #fff; color: #6b6b6b; font-size: 11.5px; }
@media (max-width: 800px) { .whatsapp-chat { right: 10px; left: 10px; width: auto; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 128px); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-chat { transition: none; } }
