.pdp-guide-link {
  display: block;
  margin: 0 auto 3px;
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: #255e57;
  font: 650 .9rem/1.5 var(--sans);
  text-decoration: underline;
  text-decoration-color: #9ab4ab;
  text-underline-offset: 4px;
}
.pdp-guide-link:hover { text-decoration-color: currentColor; }

#order-dialog .dialog-top { position: sticky; top: 0; z-index: 1; background: var(--paper); }
#order-dialog { scroll-padding-top: 78px; }
.order-drawer .back-link { min-height: 38px; margin: -7px 0 3px; }
.order-drawer .dialog-title { margin-bottom: 18px; font-size: clamp(1.75rem, 3vw, 2.12rem); }
.order-summary {
  padding: 17px 19px 13px;
  background: #f4efe5;
  border: 1px solid #e1d7c9;
  border-radius: 14px;
  color: #332921;
}
.order-item, .order-consult { display: flex; align-items: center; gap: 13px; }
.order-item img { flex: none; object-fit: contain; border-radius: 8px; background: #fff; }
.order-item strong, .order-consult strong { display: block; font-size: 1.01rem; line-height: 1.42; }
.order-summary p { margin: 3px 0 0; color: #63584d; font-size: .85rem; line-height: 1.45; }
.order-cost { margin: 12px 0 0; font-size: .89rem; }
.order-cost div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 1px; }
.order-cost dt { color: #675b4f; }
.order-cost dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-cost .order-total { border-top: 1px solid #d6cabb; margin-top: 8px; padding-top: 8px; }
.order-total dt { color: #372b20; font-weight: 650; }
.order-total dd { font-size: 1.33rem; font-weight: 750; letter-spacing: -.025em; }
.order-consult { padding-block: 16px; justify-content: space-between; }
.order-consult b { color: #255e57; font-size: .94rem; white-space: nowrap; }

.order-formhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 13px; }
.order-formhead p { margin: 0; color: var(--muted); font-size: .85rem; }
.order-formhead .demo-fill { min-height: 44px; margin: 0; padding: 0; color: #255e57; white-space: nowrap; }
#details-form legend { margin-bottom: 10px; font-size: 1.1rem; letter-spacing: -.015em; }
#details-form .delivery-options { margin-bottom: 14px; }
#details-form .delivery-options .option { padding: 9px 12px; border-radius: 9px; }
#details-form .delivery-options .option:has(input:checked) {
  background: #edf3ec;
  border-color: #48766d;
  box-shadow: inset 0 0 0 1px #48766d;
}
#details-form .option input, #details-form .check-line input { accent-color: #255e57; }
#details-form label small { font-size: .82rem; }
#details-form .field input, #details-form .field select { border-radius: 7px; color: var(--ink); }
.order-delivery { margin: 0 0 19px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.delivery-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.delivery-field-grid .field { min-width: 0; margin: 0; gap: 4px; }
.delivery-field-grid .field span { font-size: .88rem; font-weight: 600; }
.delivery-field-grid label:has(#shipping-store), .delivery-store-confirm { grid-column: 1 / -1; }
.delivery-field-grid select:disabled, .delivery-field-grid input:disabled { opacity: .65; }
.delivery-store-confirm { padding: 10px 13px; border-left: 3px solid #48766d; background: #edf3ec; color: #344b44; }
.delivery-store-confirm:not([hidden]) { display: grid; gap: 2px; }
.delivery-store-confirm span { font-size: .84rem; }
.delivery-directory-note { margin: 0; color: var(--muted); font-size: .88rem; }
.delivery-directory-note:not(:empty) { margin-top: 10px; }
.delivery-directory-retry { min-height: 44px; padding: 4px 0; color: #255e57; text-decoration: underline; }
.order-contact-fields { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; }
.order-extra { margin-top: 5px; }
.order-extra summary {
  width: fit-content;
  min-height: 44px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: #554d42;
  cursor: pointer;
  font-size: .88rem;
  list-style: none;
}
.order-extra summary::-webkit-details-marker { display: none; }
.order-extra summary::before { content: '+'; font-size: 1.1rem; line-height: 1; }
.order-extra[open] summary::before { content: '−'; }
.order-extra summary small { color: var(--muted); font-size: .75rem; }
.order-extra[open] { padding-bottom: 12px; }
#details-form .check-line { border-top: 1px solid var(--line); margin: 0 0 14px; padding-top: 16px; color: #51483e; }
.order-confirmation .order-receipt { padding: 19px 20px; border-radius: 12px; }
.order-confirmation .code { font-size: 1.2rem; }
@media (max-width: 420px) {
  .delivery-field-grid label:has(#shipping-street), .delivery-field-grid label:has(#shipping-detail) { grid-column: 1 / -1; }
  .order-contact-fields { grid-template-columns: 1fr; gap: 12px; }
  .order-summary { padding-inline: 14px; }
  #details-form .delivery-options .option { gap: 7px; padding-inline: 9px; }
  #details-form .delivery-options strong { font-size: .93rem; }
}
.order-check-page { display:grid; place-items:start center; padding-block:clamp(32px,8vw,90px); }
.order-check-card { width:min(100%,520px); padding:clamp(22px,4vw,42px); border:1px solid var(--line); border-radius:18px; background:#fffdf9; }
.order-check-card form { margin-top:20px; }
.order-check-card button[type="submit"] { margin-top:18px; }
.lookup-reference-summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding-block:8px; font-size:.87rem; }
.lookup-reference-summary button { padding:6px 0; border:0; background:transparent; color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.order-check-card [hidden] { display:none; }
#lookup-form .field { margin-block: 1rem; }
#lookup-form input { font-size: max(1rem, 16px); }
.lookup-record { margin-block: 1rem 1.5rem; }
.lookup-record h3 { margin: 0 0 .65rem; }
.lookup-record dd, #copy-lookup-status { overflow-wrap: anywhere; }
