/* Photo-led product page. Analysis, progress and result components retain their contract. */
:root { --paper: #f5f3ef; --ink: #232c25; --muted: #788174; --white: #fffefa; --line: #dce0d4; }
.header { min-height: 105px; height: auto; }
.header-caption { font-size: 11px; }
.header-badge { font-size: 10px; background: transparent; padding: 10px 14px; }
.hero { grid-template-columns: 1.08fr 1fr; gap: 76px; align-items: center; padding: 44px 0 45px; }
.hero-copy { grid-column: 2; grid-row: 1; padding: 16px 0; }
.hero h1 { font-size: clamp(40px,4.5vw,60px); font-weight: 500; letter-spacing: -2.8px; margin: 23px 0 20px; }
.intro { font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.model-spec { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #7d8772; margin: 23px 0 29px; }
.black-swatch { width: 10px; height: 10px; border-radius: 50%; background: #272e28; box-shadow: 0 0 0 3px #272e280a; }
.spec-divider { margin: 0 6px; color: #b5beaa; }
#price-form { background: var(--white); padding: 23px; border: 1px solid #dfe4d7; border-radius: 17px; }
form label { font-size: 11px; }
.price-input-wrap { border: 0; border-bottom: 1px solid #d4ddca; border-radius: 0; background: transparent; }
#price { height: 79px; padding: 4px 115px 10px 0; font-size: 49px; font-weight: 450; letter-spacing: -2px; }
#price::placeholder { color: #c3cdba; }
.currency { right: 83px; font-size: 30px; color: #929f85; }
.input-tag { right: 0; border-radius: 5px; font-size: 10px; }
.primary-button { background: #d6ed8d; border: 1px solid #cee682; border-radius: 9px; color: var(--ink); margin-top: 19px; min-height: 53px; padding: 15px 17px; transition: background .2s, transform .2s; }
.primary-button:hover { background: #cce57c; transform: translateY(-1px); }
#button-arrow { color: #40572c; font-weight: 400; }
.field-help { font-size: 9px; margin: 13px 0 0; line-height: 1.6; }
.photo-gallery { grid-column: 1; grid-row: 1; min-width: 0; }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; font-size: 8px; color: #89947c; letter-spacing: .13em; }
.gallery-heading span:last-child { font-family: ui-monospace,monospace; letter-spacing: .02em; }
.photo-main { position: relative; display: block; overflow: hidden; border-radius: 19px; background: #d9d5d0; aspect-ratio: 1.04; isolation: isolate; }
.photo-main > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .5s; }
.photo-main:hover > img { transform: scale(1.025); }
.photo-main::after { content: ''; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent,#292d2222); pointer-events: none; }
.photo-model-tag { position: absolute; left: 19px; top: 19px; font-family: Georgia,serif; font-size: 11px; letter-spacing: .06em; color: #4b5047; }
.photo-model-tag span { font-family: ui-sans-serif,system-ui,sans-serif; font-size: 8px; letter-spacing: .09em; border-left: 1px solid #82877a88; padding-left: 9px; margin-left: 6px; }
.photo-expand { position: absolute; display: flex; align-items: center; gap: 19px; right: 16px; bottom: 16px; z-index: 1; background: #fffefae8; backdrop-filter: blur(8px); color: #414c39; border: 1px solid #ffffff88; border-radius: 7px; padding: 9px 11px; font-size: 9px; }
.photo-expand span:last-child { font-size: 16px; }
.photo-thumbnails { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.photo-thumb { display: flex; align-items: center; gap: 12px; padding: 7px; border: 1px solid #dce0d4; background: transparent; border-radius: 10px; color: #849277; min-width: 0; text-align: left; transition: background .2s,border-color .2s; }
.photo-thumb[aria-pressed=true] { border-color: #84956d; background: #eaf0e1; color: #414f36; }
.photo-thumb:hover { background: #eaf0e3; }
.photo-thumb > img { width: 42px; height: 53px; object-fit: cover; object-position: center; border-radius: 5px; flex-shrink: 0; }
.photo-thumb > span:not(.thumb-arrow) { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.photo-thumb strong { font-size: 10px; font-weight: 550; }
.photo-thumb small { font-size: 9px; color: #849476; }
.thumb-arrow { margin-left: auto; margin-right: 4px; color: #97a786; font-size: 13px; }
.process { padding: 27px 0; }
.empty-state { margin: 33px 0 47px; padding: 24px 0; border: 0; border-radius: 0; }
.empty-end { font: 10px ui-monospace,monospace; letter-spacing: .08em; white-space: nowrap; }
.results { scroll-margin-top: 22px; }
.photo-dialog { border: 1px solid #e4e8dd; border-radius: 16px; padding: 15px; background: var(--paper); max-width: min(92vw,720px); max-height: 94dvh; box-shadow: 0 24px 100px #111a1155; }
.photo-dialog::backdrop { background: #1f261edb; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 1px 12px; font-size: 11px; color: #6e7e5e; }
.dialog-heading form { margin: 0; }
.dialog-heading button { display: flex; align-items: center; gap: 10px; min-height: 40px; background: #e3ebd8; color: #566947; border: 0; border-radius: 6px; padding: 8px 12px; font-size: 10px; }
.dialog-heading button span { font-size: 20px; line-height: 1; }
.photo-dialog > img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(94dvh - 96px); margin: auto; border-radius: 7px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .photo-main > img,.photo-thumb,.primary-button { transition: none; } }
@media (min-width: 1500px) { .hero { padding-top: 57px; padding-bottom: 52px; } }
@media (max-width: 1050px) {
  .hero { gap: 40px; }
  .hero h1 { font-size: 48px; }
  .photo-main { aspect-ratio: .88; }
  .photo-thumb { gap: 7px; }
  .photo-thumb strong { font-size: 9px; }
  .photo-thumb small { font-size: 8px; }
  .thumb-arrow { display: none; }
}
@media (max-width: 700px) {
  .page { padding: 0 21px; }
  .header { min-height: 80px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding: 27px 0 30px; }
  .photo-gallery { grid-column: 1; grid-row: 1; }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 0; }
  .photo-main { aspect-ratio: 1.22; border-radius: 14px; }
  .gallery-heading { font-size: 7px; margin-bottom: 10px; }
  .photo-model-tag { top: 14px; left: 14px; font-size: 10px; }
  .photo-model-tag span { font-size: 7px; }
  .photo-expand { bottom: 12px; right: 12px; font-size: 8px; padding: 7px 9px; }
  .photo-thumbnails { gap: 8px; margin-top: 10px; }
  .photo-thumb { padding: 6px; gap: 10px; }
  .photo-thumb > img { width: 36px; height: 44px; }
  .photo-thumb strong { font-size: 10px; }
  .photo-thumb small { font-size: 9px; }
  .hero h1 { font-size: 48px; letter-spacing: -2.3px; margin: 17px 0; }
  .intro { font-size: 13px; max-width: none; margin-bottom: 0; }
  .model-spec { margin: 19px 0 22px; }
  #price-form { padding: 20px; }
  #price { height: 75px; font-size: 48px; }
  .primary-button { min-height: 53px; }
  .field-help { font-size: 9px; }
  .process { padding: 22px 0; }
  .empty-state { padding: 13px 0; margin: 27px 0 37px; }
  .empty-end { display: none; }
  .photo-dialog { padding: 11px; border-radius: 12px; max-width: 95vw; }
  .dialog-heading { font-size: 9px; gap: 10px; }
}
.market-heading th { padding: 18px 16px 10px; background: #f0f1e8; color: #314b3b; font-size: 13px; text-align: left; }
#new-retail { font-size: 14px; line-height: 1.6; }
