/* Extensões da identidade existente, sem redefinir a landing page. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
.catalog-page { color: var(--brown); }
.catalog-page .site-header { background: var(--ivory); border-bottom-color: var(--line); }
.main-nav a[aria-current="page"]::after { right: 0; }
.catalog-intro { position: relative; padding-top: 132px; padding-bottom: 64px; }
.breadcrumb { font-size: 11px; color: var(--brown-2); }
.catalog-intro .eyebrow { margin-top: 42px; }
.catalog-intro h1 { margin: 20px 0; font-family: var(--serif); font-size: clamp(52px, 6.5vw, 88px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.catalog-intro h1 em, .catalog-section-heading em, .catalog-invitation em { color: var(--brown-2); font-weight: 400; }
.catalog-lead { max-width: 535px; color: var(--brown-2); font-size: 14px; line-height: 1.9; }
.catalog-signature { display: flex; align-items: center; gap: 18px; margin-top: 34px; font-family: var(--serif); font-size: 23px; font-style: italic; color: var(--brown-2); }
.catalog-signature > span:first-child { height: 1px; width: 40px; background: var(--gold); }
.catalog-signature > span:last-child { color: var(--gold); font-size: 30px; }
.featured-section { padding-block: 52px 64px; background: var(--beige); }
.catalog-section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
.catalog-section-heading h2, .catalog-invitation h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 49px); font-weight: 500; line-height: 1.12; }
.catalog-section-heading .eyebrow { margin: 0 0 12px; }
.small-note { color: var(--brown-2); font-size: 12px; }
.featured-grid { display: grid; grid-auto-columns: calc((100% - 48px) / 3); grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; gap: 24px; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.featured-grid .product-card { scroll-snap-align: start; }
.featured-grid .product-image { height: 330px; }
.catalog-list { padding-block: 68px 96px; }
.search-field { display: flex; align-items: center; gap: 12px; min-width: 280px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search-field > span:first-child { font-size: 24px; }
.search-field input { width: 100%; border: 0; color: var(--brown); background: transparent; font: inherit; font-size: 12px; min-width: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 15px 0 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.category-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.category-filters button { padding: 10px 18px; min-height: 44px; border: 1px solid transparent; background: transparent; font-size: 12px; transition: background .25s, color .25s; }
.category-filters button:hover { border-color: var(--line); }
.category-filters button[aria-pressed="true"] { color: var(--paper); background: var(--brown); }
#result-count { margin: 0; color: var(--brown-2); font-size: 11px; }
.catalog-card { min-width: 0; animation: piece-enter .6s ease both; cursor: pointer; }
.catalog-card .product-image { border: 0; padding: 0; width: 100%; }
.catalog-card .product-info { align-items: start; }
.catalog-card .product-info p { color: var(--brown-2); }
.title-button { padding: 0; border: 0; background: none; font: inherit; text-align: left; overflow-wrap: anywhere; }
.piece-price { color: var(--brown); white-space: nowrap; font-size: 12px; }
.piece-buy { display: inline-flex; gap: 20px; margin-top: 17px; border-bottom: 1px solid var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.piece-buy:hover { color: var(--brown-2); }
.stock-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; background: var(--paper); color: var(--brown); font-size: 10px; letter-spacing: .035em; }
.unavailable .product-image img { opacity: .58; filter: saturate(.55); }
.unavailable .product-info { opacity: .7; }
.image-fallback { display: grid; align-content: center; text-align: center; height: 100%; min-height: 80px; color: var(--brown-2); font: italic 52px var(--serif); }
.image-fallback small { font: 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.catalog-state { grid-column: 1 / -1; width: 100%; min-height: 290px; padding: 38px 20px; text-align: center; border: 1px solid var(--line); background: var(--paper); }
.catalog-state h3 { margin: 10px 0; font: 500 34px var(--serif); color: var(--brown); }
.catalog-state p { margin: 0 auto 24px; max-width: 470px; font-size: 13px; color: var(--brown-2); }
.state-ornament { color: var(--gold); font-size: 40px; }
.skeleton-card > div { height: 350px; background: var(--beige); }
.skeleton-card span { display: block; width: 70%; height: 14px; margin-top: 20px; background: var(--beige); }
.skeleton-card span:last-child { width: 40%; }
.skeleton-card { animation: shimmer 1.5s ease-in-out infinite alternate; }
.catalog-invitation { padding: 64px 20px; text-align: center; background: var(--beige); }
.catalog-invitation p:not(.eyebrow) { color: var(--brown-2); margin-block: 20px 28px; font-size: 13px; }
dialog { color: var(--brown); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(35, 24, 21, .55); backdrop-filter: blur(4px); }
.piece-dialog { width: min(960px, calc(100% - 28px)); max-height: 90dvh; padding: 44px 32px 32px; overflow-y: auto; }
.dialog-close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 30px; line-height: 1; }
.piece-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gallery-main { height: 460px; background: var(--beige); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery-thumbs button { height: 64px; width: 56px; padding: 2px; border: 1px solid transparent; background: var(--beige); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--brown); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { align-self: center; padding-block: 16px; min-width: 0; }
.detail-copy h2 { margin: 14px 0; font: 500 48px/1.05 var(--serif); overflow-wrap: anywhere; }
.detail-price { font-size: 20px; }
.availability { display: inline-block; padding: 5px 10px; background: var(--beige); font-size: 11px; }
.in-stock { color: var(--green); }
.piece-description { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; color: var(--brown-2); margin-block: 20px 30px; }
.detail-note { margin-top: 24px; color: var(--brown-2); font-size: 11px; }
@keyframes piece-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { to { opacity: .45; } }
@media (min-width: 981px) { .main-nav { gap: clamp(16px, 2.1vw, 28px); } }
@media (max-width: 980px) { .featured-grid { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) {
  .catalog-intro { padding-top: 112px; padding-bottom: 42px; }
  .catalog-intro .eyebrow { font-size: 9px; }
  .catalog-section-heading { align-items: flex-start; flex-direction: column; }
  .search-field { width: 100%; min-width: 0; }
  .catalog-list { padding-block: 44px 64px; }
  .category-filters button { padding-inline: 13px; }
  .featured-grid { grid-auto-columns: 85%; }
  .piece-detail { grid-template-columns: 1fr; gap: 16px; }
  .piece-dialog { padding: 44px 20px 24px; }
  .gallery-main { height: 330px; }
  .detail-copy h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .catalog-card, .skeleton-card { animation: none; } }
