/* Upload photos page (builds on estimate.css) */
.page-photos .est-hero h1 { max-width: 12ch; }
.photo-panel h2 { margin-bottom: 22px; }
.photo-panel .photo-h2 { margin-top: 52px; }
.page-photos .est-hero { padding-bottom: 48px; }
.drop-touch { display: none; }
@media (hover: none) { .drop-mouse { display: none; } .drop-touch { display: inline; } }
.photo-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 230px; padding: 32px 24px; text-align: center; background: #fffdf8; border: 1.5px dashed #b99a6c; border-radius: 4px; cursor: pointer; transition: background .25s, border-color .25s, min-height .3s; }
.photo-drop:hover, .photo-drop.is-over, .photo-drop:focus-visible { background: #f6ead6; border-color: var(--walnut); outline: none; }
.photo-drop.has-photos { min-height: 130px; }
.photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ink); }
.drop-icon svg { width: 28px; height: 28px; fill: var(--brass); }
.drop-title { color: var(--ink); font: 400 26px/1.1 var(--serif); }
.drop-sub { max-width: 420px; color: var(--mute-l); font-size: 14px; line-height: 1.5; }
.photo-count { margin: 14px 0 0; color: var(--mute-l); font-size: 14px; font-weight: 600; }
.photo-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.photo-grid:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--cream-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(13,11,9,.78); color: var(--cream); font: 400 20px/30px var(--sans); cursor: pointer; }
.thumb-x:hover { background: var(--walnut); }
.estimate-field textarea { width: 100%; padding: 14px 16px; font: inherit; font-size: 17px; line-height: 1.5; color: var(--ink); background: #fffdf8; border: 1px solid var(--line-l); border-radius: 3px; resize: vertical; }
.estimate-field textarea:focus { outline: none; border-color: var(--walnut); box-shadow: 0 0 0 3px rgba(201, 160, 99, .35); }
.optional { color: var(--mute-l); font-weight: 400; letter-spacing: 0; text-transform: none; }
.photo-progress { display: block; width: 100%; height: 6px; margin-top: 18px; appearance: none; border: 0; border-radius: 3px; background: var(--cream-2); overflow: hidden; }
.photo-progress::-webkit-progress-bar { background: var(--cream-2); }
.photo-progress::-webkit-progress-value { background: var(--walnut); }
.photo-progress::-moz-progress-bar { background: var(--walnut); }
.photo-fine { margin-top: 22px; }
.photo-done { background: var(--char); color: #d6cbb9; border: 1px solid var(--line-d); }
.photo-done h2 { color: var(--cream); border-bottom-color: var(--line-d); }
.photo-done a:not(.estimate-button) { color: var(--brass); font-weight: 600; }
.photo-done .estimate-button { background: var(--brass); color: var(--black); text-decoration: none; }
.schedule { margin: 34px 0 6px; padding-top: 30px; border-top: 1px solid var(--line-l); }
.schedule-toggle { margin: 0; padding: 20px 22px; border-width: 1.5px; }
.schedule-toggle label { align-items: center; font-size: 17px; }
.schedule-toggle strong { display: block; margin-bottom: 2px; color: var(--ink); font: 400 24px/1.2 var(--serif); }
.schedule-fields { margin-top: 18px; padding: 4px 0 0; }
.schedule-fields > .estimate-note { margin: 0 0 20px; }
.estimate-field select:disabled { opacity: .55; }
@media (max-width: 640px) {
  .photo-drop { min-height: 190px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

.photo-done a[href^="tel:"] { white-space: nowrap; }
