/* Оценка по фото */
.gs-ph-cam { display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l1.5-2.5h7L17 8h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l1.5-2.5h7L17 8h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Плавающая кнопка */
.gs-ph-fab { position: fixed; left: 18px; bottom: 18px; z-index: 9980; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 14px; border: 0; border-radius: 999px; background: var(--ink, #151515); color: #fff; font-family: var(--wide); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; box-shadow: 0 14px 34px rgba(0,0,0,.28); transform: translateY(140%); opacity: 0; transition: transform .3s, opacity .3s; }
.gs-ph-fab.is-on { transform: none; opacity: 1; }
.gs-ph-fab .gs-ph-cam { width: 22px; height: 22px; color: var(--acc, #ff8a00); }
.gs-ph-fab:hover { background: #262626; }

/* Окно */
.gs-ph-modal { position: fixed; inset: 0; z-index: 99995; background: rgba(10,10,10,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gs-ph-modal[hidden] { display: none; }
html.gs-ph-lock { overflow: hidden; }
.gs-ph-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 30px 28px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: gs-ph-in .25s ease both; }
@keyframes gs-ph-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gs-ph-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft, #f5f5f2); font-size: 22px; line-height: 1; cursor: pointer; }
.gs-ph-pill { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: var(--chip, #ffe6c4); color: var(--chipt, #9a5300); font-family: var(--wide); font-weight: 700; font-size: 11px; text-transform: uppercase; }
.gs-ph-box h3 { margin: 0 0 16px; font-family: var(--wide); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.15; color: var(--ink, #151515); }
.gs-ph-box h3 span { display: block; color: var(--acc, #ff8a00); }
.gs-ph-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: ph; }
.gs-ph-steps li { counter-increment: ph; position: relative; padding: 0 0 10px 40px; font-size: 15px; line-height: 1.45; color: var(--txt, #3d3d3d); }
.gs-ph-steps li::before { content: counter(ph); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink, #151515); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.gs-ph-steps b { color: var(--ink, #151515); }
.gs-ph-btns { display: grid; gap: 10px; }
.gs-ph-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 14px; color: #fff !important; text-decoration: none !important; font-family: var(--wide); font-weight: 600; font-size: 14px; text-transform: uppercase; transition: filter .15s, transform .1s; }
.gs-ph-btn:hover { filter: brightness(1.07); }
.gs-ph-btn:active { transform: scale(.99); }
.gs-ph-btn i { width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .9; }
.gs-ph-wa { background: #25d366; } .gs-ph-tg { background: #2aabee; } .gs-ph-mx { background: #4f46e5; }
.gs-ph-note { margin: 14px 0 0; font-size: 13px; color: var(--mute, #76767a); line-height: 1.45; }
.gs-ph-note.is-ok { color: #138a4b; font-weight: 600; }
.gs-ph-hours { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 13px; color: var(--ink, #151515); font-weight: 600; }
.gs-ph-hours i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }

/* Блок перед подвалом */
.gs-ph-sec { padding: 8px 0 28px; }
.gs-ph-band { display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-radius: 28px; background: var(--chip, #ffe6c4); }
.gs-ph-band-ico { flex: 0 0 64px; height: 64px; border-radius: 18px; background: var(--ink, #151515); color: var(--acc, #ff8a00); display: flex; align-items: center; justify-content: center; }
.gs-ph-band-ico .gs-ph-cam { width: 32px; height: 32px; }
.gs-ph-band-txt { flex: 1; min-width: 0; }
.gs-ph-band-txt b { display: block; font-family: var(--wide); font-size: 18px; line-height: 1.2; text-transform: uppercase; color: var(--ink, #151515); margin-bottom: 6px; }
.gs-ph-band-txt span { font-size: 15px; color: var(--txt, #3d3d3d); }
.gs-ph-band-btns { display: flex; gap: 8px; flex: 0 0 auto; }
.gs-ph-btn.is-sm { padding: 13px 16px; font-size: 12px; }

@media (max-width: 1060px) {
	.gs-ph-fab { left: auto; right: 16px; bottom: 18px; padding: 0; width: 56px; height: 56px; justify-content: center; }
	.gs-ph-fab b { display: none; }
	.gs-ph-fab .gs-ph-cam { width: 26px; height: 26px; }
	.gs-ph-band { flex-wrap: wrap; padding: 20px; gap: 14px; }
	.gs-ph-band-ico { flex-basis: 52px; height: 52px; }
	.gs-ph-band-txt { flex: 1 1 calc(100% - 70px); }
	.gs-ph-band-btns { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
	.gs-ph-btn.is-sm { padding: 13px 6px; font-size: 11px; }
}
@media (max-width: 600px) {
	/* Keep photo estimate opposite the chat, above the fixed contact bar. */
	.gs-ph-fab { left: 12px; right: auto; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
	body:has(#gpwc-fab.away) .gs-ph-fab,
	body:has(#gpwc-box.on) .gs-ph-fab,
	body:has(.gp-lead-form:focus-within) .gs-ph-fab { visibility: hidden; pointer-events: none; }
	.gs-ph-x { width: 44px; height: 44px; }
	.gs-ph-box { padding-top: 62px; }
}
@media (max-width: 420px) {
	.gs-ph-box { padding: 62px 18px 20px; border-radius: 22px; }
	.gs-ph-box h3 { font-size: 19px; }
}
