/* Detalhe de produto — composição baseada na referência enviada. */
.product-page-body { background: #fff; }
.pdp { --product-line: #e1dfda; padding: 30px 0 0; background: #fff; }
.pdp-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(340px, 1fr); grid-template-areas: 'gallery summary' 'details summary'; column-gap: clamp(28px, 4vw, 64px); row-gap: 28px; align-items: start; }
.pdp-gallery { grid-area: gallery; min-width: 0; }
.pdp-gallery-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 2vw, 30px); }
.pdp-gallery-layout:has(.pdp-thumbnails:not([hidden])) { grid-template-columns: 80px minmax(0, 1fr); }
.pdp-thumbnails { display: flex; flex-direction: column; gap: 16px; padding-top: 34px; }
.pdp-thumbnail { display: flex; flex-direction: column; gap: 7px; align-items: center; padding: 0; border: 0; background: none; color: #5a5752; font-size: 11px; line-height: 1.45; text-align: center; }
.pdp-thumbnail-picture { display: block; width: 80px; height: 94px; border: 1px solid #d7d3cd; border-radius: 7px; padding: 4px; overflow: hidden; background: #f1efeb; }
.pdp-thumbnail-picture img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbnail[aria-pressed=true] .pdp-thumbnail-picture { border: 2px solid #bd6100; padding: 3px; }
.pdp-thumbnail[aria-pressed=true] { color: #111; font-weight: 700; }
.pdp-thumbnail-detail img { transform: scale(1.8); transform-origin: var(--detail-position, 50% 40%); }
.pdp-stage { min-width: 0; position: relative; }
.pdp-main-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.06; width: 100%; overflow: hidden; border-radius: 3px; background: #f0eeea; border: 1px solid #ebe8e2; }
.pdp-main-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; transform-origin: var(--detail-position, 50% 40%); transition: transform .22s ease; }
.pdp-main-photo.is-detail .pdp-main-image { transform: scale(1.85); }
.pdp-zoom-label { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #d4d0c8; border-radius: 999px; background: rgba(255,255,255,.96); color: #222; font-size: 11px; font-weight: 700; }
.pdp-image-caption { margin: 10px 0 0; color: #69645d; font-size: 12px; text-align: center; }
.pdp-image-error { margin: 0; padding: 48px 24px; background: #f5f3ed; border: 1px solid #dbd5cb; color: #5c554b; }
.pdp-image-error a { text-decoration: underline; }
.pdp-summary { grid-area: summary; min-width: 0; padding: 0 0 16px; }
.pdp-summary .breadcrumbs { font-size: 12px; gap: 9px; margin: -8px 0 18px; }
.pdp-breadcrumb-current { color: #5f5a52; }
.pdp-title-row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }
.pdp h1 { margin: 0; font: 700 clamp(22px, 2vw, 29px)/1.3 Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.pdp-favorite { background: #fff; border-color: transparent; color: #9d4a00; }
.pdp-favorite[aria-pressed=true] .icon { fill: #ffbd73; }
.pdp-item-code { font-size: 11px; color: #716b61; margin: 10px 0 0; letter-spacing: .045em; }
.pdp-utilities { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 8px 0 0; }
.pdp-text-button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: #514c44; font-size: 12px; cursor: pointer; }
.pdp-text-button:hover { color: #111; text-decoration: underline; }
.pdp-text-button .icon { width: 15px; height: 15px; }
.pdp-favorite-label { font-size: 12px; color: #514c44; }
.pdp-pricing { padding: 20px 0; border-bottom: 1px solid var(--product-line); margin-bottom: 22px; }
.pdp-price { display: block; font-size: 25px; font-weight: 800; color: #111; line-height: 1.35; }
.pdp-pricing p { color: #6b655c; font-size: 13px; margin: 7px 0 0; }
.pdp-option { margin: 0 0 22px; }
.pdp-option h2 { display: inline; font-size: 14px; margin: 0; }
.pdp-option .pdp-option-value { margin-left: 9px; font-size: 13px; color: #655e55; }
.pdp-color { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.pdp-color-image { width: 48px; height: 56px; object-fit: contain; border: 1px solid #c07730; border-radius: 6px; padding: 3px; background: #f4f1ec; }
.pdp-color small { font-size: 12px; color: #696257; }
.pdp-size-note { background: #f7f5f1; border: 1px solid #e4dfd5; border-radius: 7px; padding: 12px 14px; margin-top: 12px; font-size: 13px; color: #5d564b; }
.pdp-size-note p { margin: 0; }
.pdp-size-note a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; color: #8c4300; text-decoration: underline; }
.pdp-seller { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 24px 0 16px; }
.pdp-seller .icon { color: #a35a09; width: 18px; height: 18px; }
.pdp-actions { display: grid; gap: 10px; }
.pdp-actions .btn { min-height: 50px; border-radius: 7px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.pdp-secondary { color: #8c4300; border-color: #bb6b1f; background: #fff; }
.pdp-secondary:hover { background: #fff7ed; }
.pdp-contact-note { color: #6b6358; font-size: 12px; margin: 12px 0 0; }
.pdp-status { color: #594b3c; font-size: 13px; margin: 12px 0 0; }
.pdp-status:empty { display: none; }
.pdp-manual-copy { margin-top: 14px; }
.pdp-manual-copy label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 7px; }
.pdp-manual-copy textarea { width: 100%; min-height: 145px; resize: vertical; font: inherit; font-size: 14px; padding: 12px; border: 1px solid #a79079; border-radius: 6px; color: #111; background: #fff; }
.pdp-delivery { border-top: 1px solid var(--product-line); margin-top: 28px; padding-top: 20px; }
.pdp-delivery h2 { font-size: 15px; margin: 0 0 12px; display: flex; align-items: center; gap: 9px; }
.pdp-delivery p { color: #6b6358; font-size: 13px; margin: 0; line-height: 1.7; }
.pdp-details { grid-area: details; min-width: 0; display: grid; gap: 14px; }
.pdp-details details { border: 1px solid var(--product-line); border-radius: 8px; background: #fff; scroll-margin-top: calc(var(--header-h) + 16px); }
.pdp-details summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 60px; padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 700; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: '+'; color: #9a560c; font-size: 24px; font-weight: 400; }
.pdp-details details[open] > summary::after { content: '−'; }
.pdp-details details[open] > summary { border-bottom: 1px solid #eeebe6; }
.pdp-details-content { padding: 18px 20px; font-size: 14px; color: #48433b; line-height: 1.8; }
.pdp-details-content p { margin: 0 0 12px; }
.pdp-details-content p:last-child { margin-bottom: 0; }
.pdp-features { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin: 0; }
.pdp-features dt, .pdp-features dd { margin: 0; padding: 12px 10px; border-bottom: 1px solid #e9e5dd; font-size: 13px; }
.pdp-features dt { font-weight: 600; background: #f7f5f1; }
.pdp-features dd { overflow-wrap: anywhere; }
.pdp-related { margin-top: 72px; padding: 48px 0 64px; border-top: 1px solid var(--product-line); background: #f8f7f3; }
.pdp-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.pdp-related h2 { font-size: clamp(23px, 3vw, 32px); margin: 0; line-height: 1.2; letter-spacing: -.02em; }
.pdp-related-heading a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; }
.pdp-related .catalog-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pdp-related .catalog-card h3 { font: 600 14px/1.5 Inter, sans-serif; margin: 12px 0 4px; }
.pdp-related .catalog-photo { border-radius: 8px; }
@media (min-width: 1500px) {
  .pdp-layout { grid-template-columns: minmax(0, 1.4fr) minmax(420px, 1fr); }
  .pdp-main-photo { max-height: 760px; }
}
@media (max-width: 1100px) {
  .pdp-layout { grid-template-columns: minmax(0, 1.08fr) minmax(310px, 1fr); gap: 28px; }
  .pdp-gallery-layout { gap: 12px; }
  .pdp-gallery-layout:has(.pdp-thumbnails:not([hidden])) { grid-template-columns: 60px minmax(0, 1fr); }
  .pdp-thumbnail-picture { width: 60px; height: 74px; }
}
@media (max-width: 900px) {
  .pdp { padding-top: 20px; }
  .pdp-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'gallery' 'summary' 'details'; gap: 28px; }
  .pdp-gallery-layout, .pdp-gallery-layout:has(.pdp-thumbnails:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
  .pdp-thumbnails { order: 2; flex-direction: row; justify-content: center; padding-top: 0; gap: 16px; }
  .pdp-thumbnail-picture { width: 62px; height: 74px; }
  .pdp-main-photo { height: min(70vh, 660px); height: min(70svh, 660px); aspect-ratio: auto; }
  .pdp-summary .breadcrumbs { margin-top: 0; }
  .pdp-related { margin-top: 44px; padding-top: 36px; }
}
@media (max-width: 620px) {
  .pdp { padding-top: 12px; }
  .pdp h1 { font-size: 23px; }
  .pdp-main-photo { height: min(66vh, 560px); height: min(66svh, 560px); }
  .pdp-main-image { width: 100%; height: 100%; }
  .pdp-zoom-label { right: 8px; bottom: 8px; padding: 7px 10px; }
  .pdp-details summary { padding: 15px; }
  .pdp-details-content { padding: 16px; font-size: 13px; }
  .pdp-features { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .pdp-features dt, .pdp-features dd { padding: 10px 8px; font-size: 12px; }
  .pdp-related .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pdp-related-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pdp-favorite-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-main-image { transition: none; }
}
