/* Pesquisa leve, com o produto real como principal referência visual. */
.dc-search { width: min(1000px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 64px); margin: 32px auto; padding: 0; overflow: hidden; border: 1px solid #f0dfe5; border-radius: 16px; background: #fff; color: #3e3037; box-shadow: 0 24px 80px #37202c26; }
.dc-search:not([open]) { display: none; }
.dc-search::backdrop { background: #28182166; backdrop-filter: blur(4px); }
html:has(.dc-search[open]) { overflow: hidden; }
.dc-search__panel { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 64px); padding: 28px 36px 26px; }
.dc-search__header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dc-search__header h2 { min-width: 0; color: #493940; font: 300 clamp(27px, 2.8vw, 34px)/1.15 var(--sans); letter-spacing: -.025em; }
.dc-search__header button { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #f1dfe5; border-radius: 50%; background: #fff6f9; color: #ac536f; transition: border-color 220ms ease, background-color 220ms ease; }
.dc-search__header button > .icon { width: 19px; height: 19px; transition: transform 260ms ease; }
.dc-search__header button:hover { border-color: #d49aaf; background: #faedf0; }
.dc-search__header button:hover > .icon { transform: rotate(90deg); }
.dc-search__form { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 22px; padding: 4px 5px 4px 18px; border: 1px solid #e8cbd6; border-radius: 999px; background: #fffafc; transition: border-color 220ms ease, box-shadow 220ms ease; }
.dc-search__form:focus-within { border-color: #bd6d8a; box-shadow: 0 0 0 3px #faedf0; }
.dc-search__form > .icon { flex-shrink: 0; width: 20px; height: 20px; color: #b26e88; }
.dc-search__form input { flex: 1; width: 100%; min-width: 0; height: 48px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: #53404a; font: 400 16px/1.5 var(--sans); }
.dc-search__form input::placeholder { color: #81636f; opacity: 1; }
.dc-search__form input:focus-visible { outline: none; }
.dc-search__form button { flex: 0 0 auto; min-height: 44px; padding: 10px 20px; border: 1px solid var(--dc-accent); border-radius: 999px; background: var(--dc-accent); color: #fff; font: 500 13px/1.5 var(--sans); transition: background-color 220ms ease, border-color 220ms ease; }
.dc-search__form button:hover { border-color: #92314e; background: #92314e; }
.dc-search__suggestions { flex: 0 0 auto; margin: 22px 0 24px; }
.dc-search__suggestions > p { color: #986276; font: 500 9px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .14em; }
.dc-search__suggestions > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.dc-search__suggestions a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; border: 1px solid #f0dfe5; border-radius: 999px; background: #fff8fa; color: #8e5269; font: 400 12px/1.5 var(--sans); transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease; }
.dc-search__suggestions a:hover { border-color: #dcabbc; background: #faedf0; color: #a53559; }
.dc-search__result-heading { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #efdee5; }
.dc-search__result-heading h3 { color: #77515f; font: 500 12px/1.5 var(--sans); }
.dc-search__result-heading p { color: #8b6a79; font-size: 11px; line-height: 1.5; text-align: right; }
.dc-search__results { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 22px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #dab0c0 #fff5f8; }
.dc-search__results:not(:has(.dc-search__result:not([hidden]))) { display: none; }
.dc-search__result { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 108px; padding: 13px 8px 13px 0; border-bottom: 1px solid #f1e4e9; transition: background-color 240ms ease, border-color 240ms ease; }
.dc-search__result[hidden] { display: none; }
.dc-search__result > span { flex: 0 0 72px; height: 82px; overflow: hidden; border: 1px solid #f5e9ee; border-radius: 8px; background: #fff; }
.dc-search__result img { width: 100%; height: 100%; padding: 6px; object-fit: contain; mix-blend-mode: normal; transition: transform 350ms cubic-bezier(.22,1,.36,1); }
.dc-search__result > div { min-width: 0; transition: transform 260ms ease; }
.dc-search__result h3 { color: #57404b; font: 400 16px/1.35 var(--sans); letter-spacing: -.01em; }
.dc-search__result p { margin-top: 7px; color: #826773; font-size: 11px; line-height: 1.6; }
.dc-search__result:is(:hover, :focus-visible) { border-color: #dfadc0; background: #fffbfc; }
.dc-search__result:is(:hover, :focus-visible) h3 { color: var(--dc-accent); }
.dc-search__result:is(:hover, :focus-visible) > div { transform: translateX(3px); }
.dc-search__result:is(:hover, :focus-visible) img { transform: scale(1.04); }
.dc-search__all { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 46px; margin: 22px auto 0; padding: 11px 24px; border: 1px solid #e8cbd6; border-radius: 999px; background: #fff; color: #a44061; font: 500 13px/1.5 var(--sans); text-align: center; transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease; }
.dc-search__all:hover { border-color: #c17491; background: #faedf0; color: #92314e; }
.dc-search__empty { flex: 0 1 auto; min-height: 0; padding: 28px 0 6px; overflow-y: auto; }
.dc-search__empty h3 { color: #755262; font: 300 27px/1.2 var(--sans); letter-spacing: -.02em; }
.dc-search__empty p { max-width: 460px; margin-top: 12px; color: #806371; font-size: 14px; line-height: 1.7; }
.dc-search__empty a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: #ac496b; font-size: 13px; }
.dc-search__empty a:hover { color: #92314e; text-decoration: underline; text-underline-offset: 4px; }
.dc-search :focus-visible { outline: 2px solid var(--dc-accent); outline-offset: 3px; }
.dc-search__result:focus-visible { outline-offset: -3px; }
.dc-whatsapp { position: fixed; z-index: 115; right: 22px; bottom: max(20px,env(safe-area-inset-bottom)); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #0a6b35; border-radius: 13px; background: #21ce65; color: #fff; box-shadow: 0 3px 12px #0002; transition: background 180ms ease,transform 180ms ease; }
.dc-whatsapp > .icon { width: 33px; height: 33px; stroke-width: 1.7; }
.dc-whatsapp > span { position: absolute; right: calc(100% + 12px); width: max-content; max-width: 210px; padding: 8px 12px; border-radius: 3px; background: #fff; box-shadow: 0 2px 12px #0002; color: #3d3d3d; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.dc-whatsapp:is(:hover,:focus-visible) > span { opacity: 1; }
.dc-whatsapp:hover { background: #19b858; transform: translateY(-2px); }
@media (max-width: 749px) {
  .dc-search { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .dc-search__panel { height: 100%; max-height: 100dvh; padding: 16px; }
  .dc-search__header h2 { font-size: 28px; }
  .dc-search__form { gap: 9px; margin-top: 18px; padding-left: 14px; }
  .dc-search__form input { height: 46px; font-size: 16px; }
  .dc-search__form button { padding-inline: 15px; }
  .dc-search__suggestions { margin-block: 18px 20px; }
  .dc-search__suggestions a { min-height: 44px; padding-inline: 12px; font-size: 11px; }
  .dc-search__result-heading { gap: 10px; padding-bottom: 10px; }
  .dc-search__results { grid-template-columns: minmax(0, 1fr); }
  .dc-search__result { gap: 15px; min-height: 102px; padding-block: 12px; }
  .dc-search__result > span { flex-basis: 66px; height: 76px; }
  .dc-search__result h3 { font-size: 16px; }
  .dc-search__all { width: 100%; min-height: 46px; margin-top: 16px; }
  .dc-search__empty h3 { font-size: 25px; }
  .dc-whatsapp { right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .dc-whatsapp > span { display: none; }
}
@media (max-height: 620px) {
  .dc-search__panel { padding-block: 16px; }
  .dc-search__header h2 { font-size: 26px; }
  .dc-search__form { margin-top: 16px; }
  .dc-search__suggestions { display: none; }
  .dc-search__result-heading { margin-top: 18px; }
  .dc-search__all { margin-top: 12px; }
}
@media (min-width: 750px) and (max-height: 620px) {
  .dc-search { max-height: calc(100dvh - 24px); margin-block: 12px; }
  .dc-search__panel { max-height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .dc-search *, .dc-whatsapp, .dc-whatsapp > span { transition: none !important; }
  .dc-search__header button > .icon, .dc-search__result > div, .dc-search__result img, .dc-whatsapp { transform: none !important; }
}
html[data-motion='reduced'] .dc-search *, html[data-motion='reduced'] .dc-whatsapp, html[data-motion='reduced'] .dc-whatsapp > span { transition: none !important; }
html[data-motion='reduced'] .dc-search__header button > .icon, html[data-motion='reduced'] .dc-search__result > div, html[data-motion='reduced'] .dc-search__result img, html[data-motion='reduced'] .dc-whatsapp { transform: none !important; }
.dc-whatsapp[data-obscured], html:has(dialog[open]) .dc-whatsapp { visibility: hidden; opacity: 0; pointer-events: none; }
