/* The shared model sheet keeps the original media on a quiet white canvas. */
#model-dialog.product-detail {
  --pd-bg: #fff;
  --pd-surface: #f5f5f2;
  --pd-text: #20221f;
  --pd-muted: #6c6e73;
  --pd-line: #e0e1df;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--pd-bg);
  color: var(--pd-text);
  font-family: 'DM Sans', sans-serif;
  color-scheme: light;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-padding-top: 88px;
}
#model-dialog.product-detail .pd-assistive,
#model-dialog.product-detail .pd-facts dt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#model-dialog.product-detail .pd-icon,
#model-lightbox .pd-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}
#model-dialog.product-detail :is(button, a, input, summary):focus-visible,
#model-lightbox :is(button, a, [tabindex]):focus-visible {
  outline: 2px solid #867058;
  outline-offset: 4px;
}
#model-dialog.product-detail :is(button, a) { -webkit-tap-highlight-color: transparent; }
#model-dialog.product-detail button:disabled { cursor: default; }
#model-dialog.product-detail .pd-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(32px, calc((100% - 1344px) / 2));
  border-bottom: 1px solid var(--pd-line);
  background: var(--pd-bg);
}
#model-dialog.product-detail .pd-brand { font-size: 20px; font-weight: 450; letter-spacing: 4px; white-space: nowrap; }
#model-dialog.product-detail .pd-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-left: auto; padding: 8px 0 8px 12px; background: transparent; color: var(--pd-muted); font-size: 14px; white-space: nowrap; }
#model-dialog.product-detail .pd-back:hover { color: var(--pd-text); text-decoration: underline; text-underline-offset: 5px; }
#model-dialog.product-detail .pd-back .pd-icon { width: 20px; height: 20px; }
#model-dialog.product-detail .pd-page { max-width: 1440px; margin: auto; padding: 38px 48px 24px; }
#model-dialog.product-detail .pd-layout { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(290px, 1fr); grid-template-rows: min-content 1fr; align-items: start; column-gap: 36px; }
#model-dialog.product-detail :is(.pd-gallery, .pd-heading, .pd-summary) { min-width: 0; }
#model-dialog.product-detail .pd-heading { grid-column: 2; grid-row: 1; padding-top: 7px; padding-bottom: 25px; }
#model-dialog.product-detail .pd-line { display: block; margin-bottom: 15px; color: var(--pd-muted); font-size: 9px; font-weight: 500; letter-spacing: 2px; line-height: 1.5; }
#model-dialog.product-detail .pd-title-row { display: flex; align-items: baseline; gap: 18px; }
#model-dialog.product-detail #dialog-title { font-size: clamp(38px, 3.6vw, 52px); font-weight: 550; line-height: 1.1; letter-spacing: -1.8px; overflow-wrap: anywhere; }
#model-dialog.product-detail #dialog-title:focus { outline: none; }
#model-dialog.product-detail .pd-mobile-surface { display: none; }

/* The full exterior fits naturally; technical and furnished plans never crop. */
#model-dialog.product-detail .pd-gallery { grid-column: 1; grid-row: 1 / 3; }
#model-dialog.product-detail .pd-gallery-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--pd-surface); isolation: isolate; }
#model-dialog.product-detail .pd-gallery-stage:is([data-kind='plan'], [data-kind='furnished-plan']) { background: #fff; }
#model-dialog.product-detail .pd-gallery-stage[data-orientation='portrait'] { aspect-ratio: var(--pd-plan-aspect); max-height: 65svh; }
#model-dialog.product-detail .pd-media-open { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
#model-dialog.product-detail .pd-media-open:focus-visible { outline-offset: -5px; }
#model-dialog.product-detail #product-image { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; }
#model-dialog.product-detail :is([data-kind='plan'], [data-kind='furnished-plan']) #product-image { object-fit: contain; }
#model-dialog.product-detail .pd-enlarge { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #20221f12; border-radius: 50%; background: #fff; box-shadow: 0 1px 7px #0000000a; }
#model-dialog.product-detail .pd-enlarge:hover:not(:disabled) { background: #f1f2ed; }
#model-dialog.product-detail .pd-enlarge:disabled { opacity: .45; }
#model-dialog.product-detail .pd-enlarge .pd-icon { width: 23px; height: 23px; }
#model-dialog.product-detail .pd-gallery-message { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 24px; color: var(--pd-muted); background: var(--pd-surface); text-align: center; font-size: 14px; }
#model-dialog.product-detail .pd-gallery-message p { font-size: 14px; }
#model-dialog.product-detail .pd-gallery-message button { min-height: 44px; padding: 10px 18px; border: 1px solid #c6cac2; border-radius: 4px; background: #fff; color: var(--pd-text); }
#model-dialog.product-detail .pd-gallery-stage[data-loading='true'] .pd-media-open { cursor: progress; }
#model-dialog.product-detail .pd-gallery-caption { margin-top: 8px; color: var(--pd-muted); font-size: 12px; line-height: 1.55; }
#model-dialog.product-detail .pd-thumbnails { display: flex; flex-wrap: wrap; gap: 3px 20px; margin-top: 12px; }
#model-dialog.product-detail .pd-thumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 0; border-bottom: 1px solid transparent; background: transparent; color: var(--pd-muted); text-align: left; font-size: 12px; }
#model-dialog.product-detail .pd-thumb img { display: none; }
#model-dialog.product-detail .pd-thumb[aria-pressed='true'] { border-bottom-color: var(--pd-text); color: var(--pd-text); }
#model-dialog.product-detail .pd-thumb:hover { color: var(--pd-text); }
#model-dialog.product-detail .pd-plan-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }
#model-dialog.product-detail .pd-plan-links:not(:has(a:not([hidden]))) { display: none; }
#model-dialog.product-detail .pd-plan-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
#model-dialog.product-detail .pd-plan-links .pd-icon { width: 16px; height: 16px; }
#model-dialog.product-detail .pd-plan-links a:last-child { color: var(--pd-muted); }

/* One concise row of facts, underline surface choices, and a single plan action. */
#model-dialog.product-detail .pd-summary { grid-column: 2; grid-row: 2; }
#model-dialog.product-detail .pd-facts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 10px; margin: 0; padding: 0; }
#model-dialog.product-detail .pd-facts > div { display: flex; align-items: baseline; min-width: 0; }
#model-dialog.product-detail .pd-facts > div + div::before { content: '·'; margin-right: 10px; color: var(--pd-text); }
#model-dialog.product-detail .pd-facts dd { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 17px; line-height: 1.5; font-weight: 400; white-space: nowrap; }
#model-dialog.product-detail .pd-facts img { display: none; }
#model-dialog.product-detail .pd-size-field { min-width: 0; margin: 27px 0 0; padding: 23px 0 0; border: 0; border-top: 1px solid var(--pd-line); }
#model-dialog.product-detail .pd-size-field legend { float: left; width: 100%; margin-bottom: 11px; padding: 0; color: var(--pd-muted); font-size: 13px; font-weight: 400; }
#model-dialog.product-detail .pd-size-options { clear: both; display: flex; flex-wrap: wrap; gap: 7px 22px; }
#model-dialog.product-detail .pd-size-options label { position: relative; display: flex; min-width: 64px; cursor: pointer; }
#model-dialog.product-detail .pd-size-options input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
#model-dialog.product-detail .pd-size-options span { display: flex; justify-content: center; align-items: center; min-width: 64px; min-height: 44px; padding: 7px 2px 10px; border-bottom: 2px solid transparent; color: var(--pd-muted); font-size: 17px; line-height: 1.4; white-space: nowrap; }
#model-dialog.product-detail .pd-size-options label:hover span { color: var(--pd-text); }
#model-dialog.product-detail .pd-size-options input:checked + span { border-bottom-color: var(--pd-text); color: var(--pd-text); font-weight: 600; }
#model-dialog.product-detail .pd-size-options input:focus-visible + span { outline: 2px solid #867058; outline-offset: 4px; }
#model-dialog.product-detail .pd-summary-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
#model-dialog.product-detail .pd-plan-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--pd-text); border-radius: 5px; background: var(--pd-text); color: #fff; font-size: 16px; line-height: 1.4; font-weight: 400; }
#model-dialog.product-detail .pd-plan-button:hover { background: #3c403a; border-color: #3c403a; }
#model-dialog.product-detail .pd-plan-button .pd-icon { filter: invert(1); }
#model-dialog.product-detail .pd-text-button { min-height: 44px; padding: 10px 0; background: transparent; color: var(--pd-muted); font-size: 12px; line-height: 1.5; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
#model-dialog.product-detail .pd-text-button:hover { color: var(--pd-text); }

/* A single full-width strip keeps optional modalities beside the contact action. */
#model-dialog.product-detail .pd-contact-strip { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(290px, 1fr); align-items: start; column-gap: 36px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--pd-line); }
#model-dialog.product-detail .pd-formats { min-width: 0; }
#model-dialog.product-detail .pd-formats > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 78px; padding: 16px 26px 16px 0; list-style: none; cursor: pointer; font-size: 16px; line-height: 1.5; }
#model-dialog.product-detail :is(.pd-formats, .pd-information) > summary::-webkit-details-marker { display: none; }
#model-dialog.product-detail .pd-format-summary-text { min-width: 0; }
#model-dialog.product-detail #product-selection-format { display: block; margin-top: 4px; color: var(--pd-muted); font-size: 11px; }
#model-dialog.product-detail .pd-plus { width: 24px; height: 24px; transition: transform 160ms ease; }
#model-dialog.product-detail details[open] > summary .pd-plus { transform: rotate(45deg); }
#model-dialog.product-detail .pd-contact-actions { display: flex; flex-direction: column; min-width: 0; padding-left: 28px; border-left: 1px solid var(--pd-line); }
#model-dialog.product-detail .pd-whatsapp { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 3px 0; color: var(--pd-text); font-size: 16px; line-height: 1.4; }
#model-dialog.product-detail .pd-whatsapp > span { flex: 1; }
#model-dialog.product-detail .pd-whatsapp .pd-whatsapp-icon { width: 28px; height: 28px; }
#model-dialog.product-detail .pd-whatsapp:hover > span { text-decoration: underline; text-underline-offset: 4px; }
#model-dialog.product-detail .pd-contact-actions .pd-text-button { align-self: center; font-size: 12px; }
#model-dialog.product-detail .pd-format-content { padding: 5px 0 22px; }
#model-dialog.product-detail .pd-section-title { margin-bottom: 22px; }
#model-dialog.product-detail .pd-section-title h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.6px; }
#model-dialog.product-detail .pd-section-title p { margin-top: 10px; color: var(--pd-muted); font-size: 13px; line-height: 1.6; }
#model-dialog.product-detail .pd-format-model { display: block; margin-top: 9px; color: var(--pd-muted); font-size: 11px; }
#model-dialog.product-detail .pd-format-field { min-width: 0; padding: 0; margin: 0; border: 0; }
#model-dialog.product-detail .pd-format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
#model-dialog.product-detail .pd-format-option { display: flex; flex-direction: column; min-width: 0; padding: 20px 16px 17px; border: 1px solid var(--pd-line); border-radius: 4px; background: #fff; }
#model-dialog.product-detail .pd-format-option:hover { border-color: #a4a9a0; }
#model-dialog.product-detail .pd-format-option.is-selected { border-color: #52594d; background: #f7f8f4; }
#model-dialog.product-detail .pd-format-select { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; }
#model-dialog.product-detail .pd-format-select input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: #30372b; cursor: pointer; }
#model-dialog.product-detail .pd-format-select > span { min-width: 0; }
#model-dialog.product-detail .pd-format-select strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -.3px; }
#model-dialog.product-detail .pd-format-select small { display: block; margin-top: 7px; color: var(--pd-muted); font-size: 12px; line-height: 1.55; }
#model-dialog.product-detail .pd-format-option ul { margin: 20px 0 18px; padding-left: 17px; }
#model-dialog.product-detail .pd-format-option li { margin-bottom: 8px; padding-left: 1px; color: #4d5348; font-size: 12px; line-height: 1.6; }
#model-dialog.product-detail .pd-format-option li:last-child { margin-bottom: 0; }
#model-dialog.product-detail .pd-format-note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pd-line); color: var(--pd-muted); font-size: 11px; line-height: 1.6; }
#model-dialog.product-detail .pd-scope-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: var(--pd-muted); }
#model-dialog.product-detail .pd-scope-note .pd-icon { width: 16px; height: 16px; margin-top: 2px; }
#model-dialog.product-detail .pd-scope-note p { font-size: 11px; line-height: 1.6; }

/* Supporting scope and provenance stay available in one quiet disclosure. */
#model-dialog.product-detail .pd-source-footer { margin-top: 20px; border-top: 1px solid var(--pd-line); color: var(--pd-muted); }
#model-dialog.product-detail .pd-information > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 12px; }
#model-dialog.product-detail .pd-information > summary .pd-icon { width: 18px; height: 18px; }
#model-dialog.product-detail .pd-source-content { max-width: 900px; padding: 8px 0 12px; }
#model-dialog.product-detail .pd-source-content p { margin-bottom: 12px; color: var(--pd-muted); font-size: 12px; line-height: 1.65; }
#model-dialog.product-detail .pd-source-content h3 { margin-bottom: 10px; color: var(--pd-text); font-size: 18px; line-height: 1.4; }
#model-dialog.product-detail .pd-source-content nav { display: flex; flex-wrap: wrap; gap: 0 26px; }
#model-dialog.product-detail .pd-source-content a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
#model-dialog.product-detail .pd-source-content a .pd-icon { width: 16px; height: 16px; }
#model-dialog.product-detail .pd-variant-note { padding-left: 12px; border-left: 2px solid #c0b3a2; }

/* The independent lightbox retains its full-resolution pan and zoom controls. */
#model-lightbox { width: min(1500px, calc(100% - 48px)); max-width: none; height: min(1000px, calc(100svh - 48px)); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 7px; background: #fff; color: #20221f; color-scheme: light; overflow: hidden; font-family: 'DM Sans', sans-serif; }
#model-lightbox[open] { display: flex; flex-direction: column; }
#model-lightbox::backdrop { background: #071016db; backdrop-filter: none; }
#model-lightbox .pd-lightbox-header { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 20px 26px 17px; border-bottom: 1px solid #e0e1df; }
#model-lightbox .pd-lightbox-header > div { min-width: 0; }
#model-lightbox .pd-lightbox-header h2 { font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -.4px; }
#model-lightbox .pd-lightbox-header p { margin-top: 6px; max-width: 950px; color: #6c6e73; font-size: 11px; line-height: 1.6; }
#model-lightbox .pd-lightbox-header button { flex: 0 0 auto; min-height: 44px; padding: 10px 17px; border: 1px solid #c6cac2; border-radius: 4px; color: #20221f; background: #fff; font-size: 13px; }
#model-lightbox .pd-lightbox-header button:hover { background: #f5f5f2; }
#model-lightbox .pd-lightbox-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 26px; border-bottom: 1px solid #e0e1df; background: #fafaf8; }
#model-lightbox .pd-lightbox-toolbar :is(button, a) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; font-size: 12px; line-height: 1.5; background: transparent; }
#model-lightbox .pd-lightbox-toolbar a { text-decoration: underline; text-underline-offset: 3px; }
#model-lightbox .pd-lightbox-toolbar button[aria-pressed='true'] { font-weight: 600; }
#model-lightbox .pd-lightbox-viewport { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; overflow: auto; padding: 16px; background: #fff; overscroll-behavior: contain; }
#model-lightbox #model-lightbox-image { display: block; width: 100%; max-width: none; height: 100%; min-height: 0; margin: 0 auto; object-fit: contain; object-position: center; cursor: zoom-in; }
#model-lightbox .pd-lightbox-viewport.is-zoomed #model-lightbox-image { width: max(150%, var(--pd-asset-width, 1440px)); height: auto; max-width: none; max-height: none; min-height: 100%; margin: 0; object-fit: contain; object-position: left top; cursor: zoom-out; }
#model-lightbox #model-lightbox-image:focus-visible { outline: 3px solid #30372b; outline-offset: -3px; }
#model-lightbox .pd-lightbox-viewport:focus-visible { outline-offset: -5px; }

@media (max-width: 1100px) {
  #model-dialog.product-detail .pd-page { padding: 30px 32px 22px; }
  #model-dialog.product-detail .pd-layout,
  #model-dialog.product-detail .pd-contact-strip { grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr); column-gap: 28px; }
  #model-dialog.product-detail #dialog-title { font-size: 40px; }
  #model-dialog.product-detail .pd-heading { padding-bottom: 20px; }
  #model-dialog.product-detail .pd-facts { gap: 6px 8px; }
  #model-dialog.product-detail .pd-facts dd { font-size: 16px; }
  #model-dialog.product-detail .pd-facts > div + div::before { margin-right: 8px; }
  #model-dialog.product-detail .pd-contact-actions { padding-left: 22px; }
  #model-dialog.product-detail .pd-whatsapp { gap: 9px; font-size: 14px; }
  #model-dialog.product-detail .pd-format-grid { grid-template-columns: 1fr; }
  #model-dialog.product-detail .pd-format-option { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px 22px; }
  #model-dialog.product-detail .pd-format-option ul { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  #model-dialog.product-detail .pd-format-note { grid-column: 1; }
}
@media (max-width: 800px) {
  #model-dialog.product-detail .pd-bar { min-height: 64px; padding-inline: 24px; }
  #model-dialog.product-detail .pd-page { padding: 25px 24px 20px; }
  #model-dialog.product-detail .pd-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 20px; }
  #model-dialog.product-detail .pd-heading { grid-column: 1; grid-row: 1; padding: 0; }
  #model-dialog.product-detail .pd-heading .pd-line { display: none; }
  #model-dialog.product-detail .pd-title-row { gap: 16px; }
  #model-dialog.product-detail #dialog-title { font-size: 36px; line-height: 1.15; letter-spacing: -1.1px; }
  #model-dialog.product-detail .pd-mobile-surface { display: inline; flex: 0 0 auto; color: var(--pd-muted); font-size: 16px; line-height: 1.4; }
  #model-dialog.product-detail .pd-gallery { grid-column: 1; grid-row: 2; }
  #model-dialog.product-detail .pd-summary { grid-column: 1; grid-row: 3; }
  #model-dialog.product-detail .pd-size-field { margin-top: 20px; padding-top: 17px; }
  #model-dialog.product-detail .pd-size-options { gap: 6px 26px; }
  #model-dialog.product-detail .pd-summary-actions { margin-top: 20px; }
  #model-dialog.product-detail .pd-contact-strip { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 26px; padding-top: 0; }
  #model-dialog.product-detail .pd-formats > summary { min-height: 64px; padding: 16px 0; }
  #model-dialog.product-detail .pd-contact-actions { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--pd-line); }
  #model-dialog.product-detail .pd-whatsapp { gap: 12px; font-size: 16px; }
  #model-dialog.product-detail .pd-format-option { display: flex; gap: 0; padding: 20px; }
  #model-dialog.product-detail .pd-format-option ul { margin: 18px 0; }
  #model-dialog.product-detail .pd-source-footer { margin-top: 14px; }
}
@media (max-width: 540px) {
  #model-dialog.product-detail { scroll-padding-top: 76px; }
  #model-dialog.product-detail .pd-bar { gap: 10px; min-height: 64px; padding: 10px 18px; }
  #model-dialog.product-detail .pd-brand { font-size: 17px; letter-spacing: 3.3px; }
  #model-dialog.product-detail .pd-back { order: -1; justify-content: center; width: 44px; margin: 0 0 0 -6px; padding: 0; }
  #model-dialog.product-detail .pd-back-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #model-dialog.product-detail .pd-page { padding: 20px 18px 14px; }
  #model-dialog.product-detail .pd-layout { row-gap: 18px; }
  #model-dialog.product-detail #dialog-title { font-size: 36px; }
  #model-dialog.product-detail .pd-title-row { gap: 16px; }
  #model-dialog.product-detail .pd-mobile-surface { font-size: 15px; }
  #model-dialog.product-detail .pd-gallery-stage { border-radius: 5px; }
  #model-dialog.product-detail .pd-enlarge { right: 10px; bottom: 10px; }
  #model-dialog.product-detail .pd-gallery-caption { font-size: 12px; }
  #model-dialog.product-detail .pd-thumbnails { gap: 2px 18px; margin-top: 9px; }
  #model-dialog.product-detail .pd-thumb { font-size: 13px; }
  #model-dialog.product-detail .pd-plan-links { column-gap: 18px; }
  #model-dialog.product-detail .pd-plan-links a { font-size: 12px; }
  #model-dialog.product-detail .pd-facts { gap: 6px 9px; }
  #model-dialog.product-detail .pd-facts dd { font-size: 16px; }
  #model-dialog.product-detail .pd-facts > div + div::before { margin-right: 9px; }
  #model-dialog.product-detail .pd-size-field { margin-top: 18px; padding-top: 14px; }
  #model-dialog.product-detail .pd-size-field legend { margin-bottom: 8px; font-size: 13px; }
  #model-dialog.product-detail .pd-size-options { gap: 4px 24px; }
  #model-dialog.product-detail .pd-size-options span { font-size: 18px; }
  #model-dialog.product-detail .pd-summary-actions { margin-top: 18px; }
  #model-dialog.product-detail .pd-plan-button { min-height: 52px; font-size: 16px; }
  #model-dialog.product-detail .pd-contact-strip { margin-top: 24px; }
  #model-dialog.product-detail .pd-formats > summary { min-height: 60px; gap: 14px; font-size: 16px; }
  #model-dialog.product-detail .pd-contact-actions { padding-top: 10px; }
  #model-dialog.product-detail .pd-whatsapp { min-height: 44px; font-size: 16px; }
  #model-dialog.product-detail .pd-whatsapp .pd-whatsapp-icon { width: 27px; height: 27px; }
  #model-dialog.product-detail .pd-contact-actions .pd-text-button { font-size: 13px; }
  #model-dialog.product-detail .pd-section-title h3 { font-size: 22px; }
  #model-dialog.product-detail .pd-section-title p { font-size: 12px; }
  #model-lightbox { inset: 0; width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  #model-lightbox .pd-lightbox-header { gap: 16px; padding: 16px; }
  #model-lightbox .pd-lightbox-header h2 { font-size: 17px; }
  #model-lightbox .pd-lightbox-header p { font-size: 10px; line-height: 1.55; }
  #model-lightbox .pd-lightbox-header button { padding-inline: 12px; font-size: 12px; }
  #model-lightbox .pd-lightbox-toolbar { padding: 6px 16px; gap: 14px; }
  #model-lightbox .pd-lightbox-toolbar :is(button, a) { font-size: 11px; }
  #model-lightbox .pd-lightbox-viewport { padding: 8px; }
}
@media (max-width: 360px) {
  #model-dialog.product-detail #dialog-title { font-size: 29px; }
  #model-dialog.product-detail .pd-title-row { gap: 12px; }
  #model-dialog.product-detail .pd-mobile-surface { font-size: 14px; }
  #model-dialog.product-detail .pd-size-options { gap: 4px 16px; }
  #model-dialog.product-detail .pd-whatsapp { gap: 8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #model-dialog.product-detail { scroll-behavior: auto; }
  #model-dialog.product-detail *,
  #model-lightbox * { transition: none; animation: none; }
}

/* Contact stays in its own layout row; it never covers a plan or a control. */
#model-dialog .pd-mobile-consultation,
#model-lightbox .pd-mobile-consultation { display: none; }
@media (max-width: 800px) {
  #model-dialog.product-detail[open] { display: flex; flex-direction: column; overflow: hidden; }
  #model-dialog.product-detail .pd-bar { flex: 0 0 auto; }
  #model-dialog.product-detail .pd-page { flex: 1 1 auto; min-height: 0; width: 100%; margin: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-padding-block: 18px; }
  #model-dialog.product-detail .pd-contact-actions .pd-whatsapp { display: none; }
  #model-dialog .pd-mobile-consultation,
  #model-lightbox .pd-mobile-consultation { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border-top: 1px solid #e0e1df; background: #fff; color: #20221f; }
  #model-dialog .pd-mobile-consultation-summary,
  #model-lightbox .pd-mobile-consultation-summary { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; white-space: normal; font-size: 12px; line-height: 1.35; }
  #model-dialog .pd-mobile-whatsapp,
  #model-lightbox .pd-mobile-whatsapp { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 11px; border: 1px solid #d9dcd6; border-radius: 4px; background: #fff; color: #20221f; font-size: 12px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
  #model-dialog .pd-mobile-whatsapp:hover,
  #model-lightbox .pd-mobile-whatsapp:hover { background: #f5f5f2; }
  #model-dialog .pd-mobile-whatsapp .pd-icon,
  #model-lightbox .pd-mobile-whatsapp .pd-icon { width: 20px; height: 20px; }
}
