.site-preview .preview-device {
    box-sizing: border-box;
    position: relative;
    width: min(380px, calc((100svh - 180px) * .4621 + 20px));
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 20px auto 0;
    padding: 8px;
    border: 2px solid #51483d;
    border-radius: 39px;
    outline: 1px solid #c2b29a;
    background: #25231f;
    box-shadow: 0 18px 40px #70501f26, inset 0 0 0 1px #c9c0b3;
    overflow: visible;
}
.preview-device::before,
.preview-device::after { content: ""; position: absolute; width: 3px; background: #817567; border-radius: 3px; }
.preview-device::before { left: -4px; top: 110px; height: 48px; }
.preview-device::after { right: -4px; top: 144px; height: 60px; }
.preview-screen { position: relative; width: 100%; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 29px; background: #fffaf1; }
.site-preview .preview-screen iframe { display: block; width: 390px; height: 844px; max-width: none; border: 0; transform: scale(var(--preview-scale, .8)); transform-origin: top left; background: #fffaf1; }
.preview-scroll-hint { position: absolute; z-index: 2; top: 13%; left: 50%; display: flex; align-items: center; gap: 9px; padding: 7px 15px 7px 8px; border: 1px solid #ffffffa8; border-radius: 999px; background: #30291fcc; box-shadow: 0 5px 18px #20180e38; color: #fffaf1; font-size: 14px; line-height: 1; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 8px); animation: preview-scroll-hint-show 3.2s ease-out 0.35s both; }
.preview-scroll-hint-icon { position: relative; display: block; flex: 0 0 50px; width: 50px; height: 50px; overflow: hidden; border-radius: 50%; background: #fff; }
.preview-scroll-hint-icon img { position: absolute; top: -57px; left: -80px; display: block; width: 180px; height: 180px; max-width: none; }
@keyframes preview-scroll-hint-show { 0%, 10% { opacity: 0; transform: translate(-50%, 8px); } 20%, 65% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -5px); } }
.preview-camera { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 65px; height: 17px; background: #25231f; border-radius: 12px; pointer-events: none; }
.preview-home-indicator { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 82px; height: 4px; border-radius: 4px; background: #3f372ca6; pointer-events: none; }
.site-preview .preview-order { position: static; max-width: 414px; margin: 28px auto 0; padding: 0; background: transparent; }
.preview-main { display: grid; grid-template-columns: minmax(0, 380px); justify-content: center; align-items: center; margin-top: 20px; }
.preview-main .preview-device { margin-top: 0; }
.preview-order .preview-full-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 8px 14px; color: #8b7352; font-size: 16px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #cdbd9f; }
.preview-order .preview-full-link:hover { color: #684a25; text-decoration-color: currentColor; }
.preview-photo-service { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 36px; max-width: 1000px; margin: 48px auto 0; padding: 34px; border: 1px solid #e8d6b4; border-radius: 23px; background: #fff8ea; }
.preview-photo-eyebrow { display: block; margin-bottom: 13px; font-size: 14px; color: #9c783d; }
.preview-photo-copy h2 { margin: 0 0 16px; color: #4d3822; font: 400 36px/1.15 HomeSerif, Georgia, serif; }
.preview-photo-copy p { color: #7e6b54; font-size: 17px; line-height: 1.7; }
.preview-photo-copy ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; color: #725b3d; }
.preview-photo-copy li { position: relative; padding-left: 23px; }
.preview-photo-copy li::before { content: "✓"; position: absolute; left: 0; color: #a47d3d; }
.preview-photo-demo { margin: 0; min-width: 0; }
.preview-photo-demo img { display: block; width: 100%; height: auto; border-radius: 15px; }
.preview-photo-demo figcaption { margin-top: 10px; text-align: center; color: #8e7a5e; font-size: 13px; }
.preview-full-link:focus-visible { outline: 2px solid #a47d3d; outline-offset: 3px; border-radius: 6px; }
@media(max-width:650px) {
    .preview-main { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
    .site-preview .preview-device { border-radius: 32px; padding: 6px; }
    .preview-screen { border-radius: 24px; }
    .preview-scroll-hint { top: 12%; font-size: 13px; }
    .preview-camera { top: 13px; width: 56px; height: 15px; }
    .preview-home-indicator { bottom: 13px; width: 70px; }
    .preview-photo-service { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; padding: 24px 18px; border-radius: 18px; }
    .preview-photo-copy h2 { font-size: 31px; }
    .preview-photo-copy p { font-size: 16px; }
}
@media(prefers-reduced-motion: reduce) { .preview-scroll-hint { animation-duration: .01ms; animation-delay: 1s; } .preview-scroll-hint-hand { animation: none; } }
@supports not (height: 100svh) { .site-preview .preview-device { width: min(380px, calc((100vh - 180px) * .4621 + 20px)); } }
