/* Catálogo e produto: superfícies claras, identidade da Home Store. */
.shop-page { background: #f7f3eb; color: #24211c; font-size: 18px; }
.shop-page .header { color: #f7f3eb; }
.shop-page [hidden] { display: none !important; }
.shop-page .reveal { opacity: 1; transform: none; transition: none; }
.shop-page main { min-height: 55vh; }
.shop-page .catalog-section,
.shop-page .produto-detalhe { padding: 38px 0 72px; }
.shop-page .shop-back,
.shop-page .pd-voltar { display: inline-flex; gap: 10px; min-height: 48px; align-items: center; font-size: 17px; color: #24211c; text-transform: none; letter-spacing: 0; }
.shop-page .shop-back:hover,
.shop-page .pd-voltar:hover { text-decoration: underline; }
.shop-page .shop-eyebrow { font-size: 15px; color: #625b50; margin-bottom: 10px; }
.shop-page .catalog-intro { padding: 22px 0 28px; }
.shop-page .catalog-intro h1 { font-family: var(--fonte-titulo); font-weight: 600; font-size: clamp(42px, 4vw, 60px); line-height: 1.1; }
.shop-page .catalog-intro p:last-child { color: #625b50; margin-top: 16px; }
.catalog-tools { padding: 0; border: 0; background: transparent; border-radius: 0; margin-bottom: 28px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; border-top: 1px solid #d8cdbb; border-bottom: 1px solid #d8cdbb; padding: 8px 0; }
.shop-page .catalog-toolbar .filtros { flex: 1; justify-content: flex-end; }
.catalog-search-unit { display: flex; align-items: center; min-width: 0; max-width: 100%; gap: 8px; }
.shop-page .catalog-toolbar .chip { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 12px 18px; }
.shop-page .catalog-toolbar .chip.is-active { color: #24211c; background: transparent; border-bottom-color: #9a7426; font-weight: 600; }
.shop-page .catalog-toolbar .chip:hover { background: #eee8dd; color: #24211c; }
.catalog-icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; color: #24211c; background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.catalog-icon-button:hover { background: #eee8dd; }
#catalog-category-mobile { display: none; }
.catalog-search { width: 380px; max-width: 100%; margin-top: 0; min-width: 0; animation: catalog-search-open 180ms ease-out; }
@keyframes catalog-search-open { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.catalog-refinements { display: flex; align-items: flex-start; gap: 18px 28px; flex-wrap: wrap; }
.catalog-refinements .catalog-filter { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.catalog-refinements .catalog-filter > label,
.catalog-refinements .catalog-filter > p { font-size: 16px; font-weight: 500; margin-bottom: 0; flex-shrink: 0; }
.catalog-refinements .catalog-filter select { width: 220px; background: transparent; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.catalog-search label,
.catalog-filter > label,
.catalog-filter > p { font-weight: 600; display: block; font-size: 18px; margin-bottom: 12px; }
.catalog-filter select { min-height: 52px; max-width: 100%; width: 300px; border: 1px solid #827869; border-radius: 7px; padding: 10px 14px; background: #fff; color: #24211c; font: inherit; }
.catalog-search__row { display: flex; gap: 12px; }
.catalog-search input,
.contact-dialog input { min-height: 52px; width: 100%; min-width: 0; background: #fff; color: #24211c; border: 1px solid #827869; border-radius: 7px; padding: 12px 16px; font: inherit; }
.catalog-search input::placeholder,
.contact-dialog input::placeholder { color: #625b50; }
.shop-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid #0d0d0d; border-radius: 7px; padding: 12px 23px; background: #0d0d0d; color: #fff; font-family: var(--fonte-texto); font-size: 17px; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.4; }
.shop-button:hover { background: #2e2922; }
.catalog-filter { margin-top: 24px; }
.shop-page .filtros { justify-content: flex-start; margin: 0; gap: 10px; }
.shop-page .chip { min-height: 48px; padding: 10px 18px; font-size: 17px; font-weight: 500; background: #fff; color: #24211c; border: 1px solid #827869; border-radius: 7px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.shop-page .chip:hover { border-color: #24211c; color: #24211c; background: #f7f3eb; }
.shop-page .chip.is-active { background: #0d0d0d; border-color: #0d0d0d; color: #fff; }
.catalog-status { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 20px; }
.catalog-status p { color: #625b50; font-size: 16px; }
.catalog-clear { border: 0; background: none; color: #24211c; font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; min-height: 48px; padding: 8px; cursor: pointer; }
.shop-page .catalog-group { margin-bottom: 44px; }
.shop-page .cat-titulo { color: #24211c; font-size: 36px; font-family: var(--fonte-titulo); font-weight: 600; margin-bottom: 24px; }
.shop-page .grid-produtos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shop-page .card { background: #fff; border: 1px solid #d8cdbb; border-radius: 13px; padding: 0 0 24px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; box-shadow: none; transform: none; }
.shop-page .card:hover { border-color: #776241; transform: none; box-shadow: none; }
.shop-page .card__media { aspect-ratio: auto; height: 240px; margin-bottom: 20px; background: #fff; border-radius: 0; flex-shrink: 0; }
.shop-page .card__img { object-fit: contain; width: 100%; height: 100%; transform: none; }
.shop-page .card__media::after { display: none; }
.shop-page .card:hover .card__img { transform: none; }
.shop-page .card__icon,
.shop-page .card__crown { display: none; }
.shop-page .card__title { color: #24211c; font-size: 30px; padding: 0 20px; margin: 0 0 12px; text-align: left; line-height: 1.15; }
.shop-page .card__marca { color: #625b50; font-size: 15px; padding: 0 20px; text-align: left; margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.shop-page .shop-card-summary { color: #625b50; font-size: 16px; line-height: 1.6; padding: 0 20px; margin-bottom: 20px; }
.shop-page .shop-card-size { color: #24211c; font-size: 17px; font-weight: 600; line-height: 1.5; padding: 0 20px; margin-bottom: 6px; }
.shop-page .shop-card-photo-note { color: #625b50; font-size: 16px; line-height: 1.5; padding: 0 20px; margin-bottom: 16px; }
.shop-page .card__ver { color: #24211c; font-size: 17px; font-weight: 600; margin-top: auto; padding: 0 20px; text-align: left; text-transform: none; letter-spacing: 0; opacity: 1; }
.shop-photo-fallback { color: #625b50; font-size: 16px; }
.catalog-empty { background: #fff; padding: 32px; border: 1px solid #d8cdbb; border-radius: 13px; }
.catalog-empty h2 { font-size: 28px; margin-bottom: 12px; }
.catalog-empty p { margin-bottom: 24px; }
.shop-page .pd-breadcrumb { color: #625b50; font-size: 16px; letter-spacing: 0; text-transform: none; margin-bottom: 28px; flex-wrap: wrap; }
.shop-page .pd-breadcrumb a { color: #625b50; min-height: 48px; display: inline-flex; align-items: center; }
.shop-page .pd-breadcrumb__atual { color: #24211c; }
.shop-page .pd-grid { gap: 40px; align-items: start; }
.shop-page .pd-main { background: #fff; border: 1px solid #d8cdbb; border-radius: 13px; height: auto; min-height: 280px; aspect-ratio: 1.25; }
.shop-page .pd-main img { width: 100%; height: 100%; object-fit: contain; }
.shop-page .card__media:has(img[src$="colchao-c1672-recortado.jpg"]),
.shop-page .pd-main:has(img[src$="colchao-c1672-recortado.jpg"]) { height: auto; min-height: 0; aspect-ratio: auto; }
.shop-page .card__img[src$="colchao-c1672-recortado.jpg"],
.shop-page .pd-main img[src$="colchao-c1672-recortado.jpg"] { position: static; display: block; width: 100%; height: auto; }
.shop-page .pd-thumb { background: #fff; border-color: #827869; opacity: 1; border-radius: 7px; }
.shop-page .pd-thumb.is-active { border-color: #24211c; box-shadow: 0 0 0 1px #24211c; }
.shop-page .pd-marca { color: #625b50; font-size: 16px; letter-spacing: 0; text-transform: none; }
.shop-page .pd-nome { color: #24211c; font-size: clamp(38px, 4vw, 54px); line-height: 1.1; }
.shop-page .pd-resumo { font-size: 20px; line-height: 1.5; color: #24211c; margin: 16px 0 24px; }
.shop-page .pd-desc { color: #625b50; font-size: 18px; line-height: 1.65; margin-top: 24px; }
.shop-page .pd-ficha-titulo { color: #24211c; font-size: 22px; margin-bottom: 16px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.shop-page .ficha { background: #fff; color: #24211c; border: 1px solid #d8cdbb; border-radius: 7px; width: 100%; table-layout: fixed; }
.shop-page .ficha th,
.shop-page .ficha td { color: #24211c; padding: 12px; border-color: #d8cdbb; font-size: 16px; overflow-wrap: anywhere; }
.shop-page .ficha th { width: 40%; font-weight: 600; }
.shop-page .pd-cta { width: 100%; margin: 0 0 12px; }
.shop-page .pd-vazio h1 { color: #24211c; }
.shop-page .pd-vazio p { color: #625b50; }
.shop-page .pd-vazio .btn { color: #0d0d0d; }
.shop-page .veja-tambem { border-color: #d8cdbb; margin-top: 54px; }
.shop-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; color: #f7f3eb; font-size: 17px; }
.shop-footer-links a { display: inline-flex; align-items: center; min-height: 48px; }
.shop-footer-links a:hover { text-decoration: underline; }
.contact-dialog { border: 1px solid #d8cdbb; border-radius: 16px; padding: 28px; width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: auto; background: #fff; color: #24211c; font-family: var(--fonte-texto); }
.contact-dialog::backdrop { background: #0009; }
.contact-dialog__close { display: block; margin: 0 0 12px auto; min-width: 48px; min-height: 48px; border: 1px solid #827869; border-radius: 7px; background: #fff; color: #24211c; font: inherit; cursor: pointer; padding: 8px 12px; }
.contact-dialog h2 { font-family: var(--fonte-titulo); font-size: 36px; font-weight: 600; line-height: 1.15; margin-bottom: 16px; }
.contact-dialog p { font-size: 18px; line-height: 1.6; margin-bottom: 20px; }
.contact-dialog label { display: block; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.contact-dialog input { margin-bottom: 20px; }
.contact-dialog .shop-button { width: 100%; }
.contact-dialog__skip { width: 100%; min-height: 48px; color: #24211c; background: #fff; border: 0; font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 12px 0; margin-top: 10px; }
.shop-page main a:focus-visible,
.shop-page main button:focus-visible,
.shop-page input:focus-visible,
.shop-page select:focus-visible,
.contact-dialog button:focus-visible { outline: 3px solid #1661a4; outline-offset: 3px; }
@media (max-width: 900px) { .shop-page .grid-produtos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .shop-page .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 850px) {
  .catalog-toolbar #filtros { display: none; }
  #catalog-category-mobile { display: block; flex: 1; width: auto; min-width: 0; min-height: 48px; border: 0; background: transparent; color: #24211c; font: inherit; font-weight: 600; padding: 10px 0; text-align: right; text-align-last: right; margin-left: auto; }
  .catalog-search { width: 340px; }
}
@media (max-width: 600px) {
  .shop-page .catalog-section,
  .shop-page .produto-detalhe { padding: 24px 0 48px; }
  .catalog-tools { padding: 0; }
  .catalog-search__row { flex-direction: row; }
  .catalog-toolbar { gap: 12px; }
  .catalog-toolbar #filtros { display: none; }
  #catalog-category-mobile { font-size: 16px; }
  .catalog-toolbar:has(.catalog-search:not([hidden])) .catalog-search-unit { width: 100%; }
  .catalog-search { width: auto; flex: 1; }
  .catalog-search #search-close { display: none; }
  .catalog-search input { padding-left: 12px; padding-right: 12px; }
  .catalog-refinements { gap: 0; }
  .catalog-refinements .catalog-filter { flex-wrap: wrap; width: 100%; }
  .catalog-refinements .catalog-filter select { flex: 1; min-width: 0; }
  .catalog-status { align-items: flex-start; flex-direction: column; gap: 0; }
  .shop-page .grid-produtos { grid-template-columns: minmax(0, 1fr); }
  .shop-page .card__media { height: 245px; }
  .shop-page .cat-titulo { font-size: 32px; }
  .shop-page .pd-main { min-height: 0; }
  .contact-dialog { padding: 20px; }
  .contact-dialog h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .catalog-search { animation: none; } }
