/* Product page closing section "Tell us about your box" (LFSE prompt; reference DESIGN_REFERENCE_LFSE_*).
   The form, ticket and their look come from the homepage's inquiry.css, unchanged. This file only sets what differs on a product page:
   the kraft ground and rhythm, the card stretched to the left column, the "Prefer to browse yourself?" block, the preselect hint and the success button.
   Product pages only; every selector sits under .pdp3 .pfo. Text on kraft is bark only. */
.pdp3 .pfo { background: #C49A6C; padding: var(--pp-pad) 0; }
.pdp3 .pfo .pfo__grid { align-items: stretch; padding-top: 0; padding-bottom: 0; gap: 48px; }
.pdp3 .pfo .ofx__copy { height: auto; justify-content: space-between; gap: 24px; } /* the blocks spread so the left column ends level with the card */
.pdp3 .pfo .ofx__card { display: flex; flex-direction: column; }
.pdp3 .pfo .iq--of { flex: 1; height: auto; min-height: 0; }
/* Desktop: the card fills its row exactly (the row is at least 700 px, above the 660 px minimum so the details screen fits), so no screen changes its height;
   a screen that needs more room scrolls inside the card (screens 4 and 5, as on the homepage). Back, Next and Skip stay at the bottom. */
@media (min-width: 1024px) {
  .pdp3 .pfo .ofx__card { position: relative; min-height: 700px; }
  .pdp3 .pfo .iq--of { position: absolute; inset: 0; flex: none; }
}
/* screens 1 to 3: the option tiles and chips share out the whole space above Back, Skip and Next (no dead gap); their content stays centred; the buttons stay at the bottom */
.pdp3 .pfo .iq--of :is(.iq__step[data-step="1"], .iq__step[data-step="2"], .iq__step[data-step="3"]) .of__q { display: flex; flex-direction: column; gap: 12px; }
.pdp3 .pfo .iq--of :is(.of__tiles, .of__qty) { flex: 1 1 auto; min-height: 0; grid-auto-rows: 1fr; }
.pdp3 .pfo .iq--of :is(.of__tile, .of__chip) .of__tb { height: 100%; }
.pdp3 .pfo .ofx__intro h2 { font-family: var(--pw-font-display); }
.pdp3 .pfo .of__hint { margin: -4px 0 0; font: 400 14px/20px var(--pw-font-body); color: #5C5249; }
.pdp3 .pfo .of__hint[hidden] { display: none; }

/* "Prefer to browse yourself?" and the contact lines */
.pdp3 .pfo .pfo__browse { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin: 0; font: 500 16px/24px var(--pw-font-body); color: #231B15; }
.pdp3 .pfo .pfo__find { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border: 1.5px solid #231B15; border-radius: 999px; background: transparent; font: 600 15px/1 var(--pw-font-body); color: #231B15; text-decoration: none; transition: background-color .2s, color .2s; }
.pdp3 .pfo .pfo__find svg { flex: none; transition: transform .25s; }
.pdp3 .pfo .pfo__find:focus-visible { outline: 2px solid #231B15; outline-offset: 3px; }
.pdp3 .pfo .ofx__lines { flex-direction: column; flex-wrap: nowrap; gap: 12px; font-size: 16px; }
.pdp3 .pfo .ofx__lines a:focus-visible { outline: 2px solid #231B15; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .pdp3 .pfo .pfo__find:hover { background: #231B15; color: #FFFFFF; }
  .pdp3 .pfo .pfo__find:hover svg { transform: translateX(3px); }
}

/* the success screen gains a Find My Box button */
.pdp3 .pfo .of__donefind { margin: 16px 0 0; }
.pdp3 .pfo .of__donefind .btn { min-height: 48px; padding: 0 24px; }

/* entrance: the same fade and rise as the sections above, only where the browser supports scroll-driven animation */
@supports (animation-timeline: view()) {
  .pdp3 .pfo .pfo__grid { animation: pp4Rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
}

/* below 1024 px the left column is intro, one-line chips, then the card (inquiry.css); the extras follow the card */
@media (max-width: 1023px) {
  .pdp3 .pfo .pfo__grid { gap: 32px; }
  .pdp3 .pfo .iq--of { min-height: 0; }
  .pdp3 .pfo .pfo__browse { order: 5; margin-top: 0; }
  .pdp3 .pfo .ofx__lines { order: 6; flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .pdp3 .pfo .of__expert { order: 7; }
  .pdp3 .pfo .ofx__lines a { display: inline-flex; align-items: center; min-height: 44px; } /* touch targets */
}
@media (max-width: 700px) {
  .pdp3 .pfo .container { padding-left: 16px; padding-right: 16px; }
  .pdp3 .pfo .pfo__grid { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp3 .pfo .pfo__grid { animation: none; }
  .pdp3 .pfo .pfo__find, .pdp3 .pfo .pfo__find svg { transition: none; }
}
