/* DetstvoOnline — Site Popup */
.dsp-overlay,
.dsp-overlay * { box-sizing: border-box; }

.dsp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(38, 29, 22, .48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.dsp-overlay.dsp-is-visible { display: flex; animation: dsp-fade-in .22s ease-out; }
.dsp-modal {
    position: relative;
    width: min(100%, 470px);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 26px;
    border: 1px solid rgba(131, 94, 57, .12);
    border-radius: 22px;
    background: #fff8ef;
    color: #493728;
    box-shadow: 0 22px 75px rgba(32, 23, 16, .24);
    font-family: inherit;
}
.dsp-close {
    position: absolute;
    top: 12px;
    right: 13px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    color: #745d49;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.dsp-close:hover { background: #f0dfcb; }
.dsp-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-right: 28px;
    color: #795630;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.dsp-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #edcc91;
    color: #654629;
    font-size: 19px;
}
.dsp-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 142px;
    margin: 19px 0 20px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8dfbd 0%, #f3cfa6 52%, #e9d9b8 100%);
}
.dsp-browser {
    width: 77%;
    overflow: hidden;
    border: 1px solid rgba(112, 76, 42, .15);
    border-radius: 9px;
    background: #fffdf9;
    box-shadow: 0 9px 22px rgba(98, 65, 36, .17);
    transform: rotate(-2deg);
}
.dsp-browser-bar {
    display: flex;
    gap: 4px;
    padding: 7px 9px;
    background: #f5eadb;
}
.dsp-browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #d7ad77; }
.dsp-browser-content { padding: 12px 13px 13px; }
.dsp-browser-heading { width: 55%; height: 8px; margin-bottom: 6px; border-radius: 8px; background: #dba45b; }
.dsp-browser-subheading { width: 76%; height: 5px; margin-bottom: 12px; border-radius: 8px; background: #e9ded0; }
.dsp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dsp-cards span { height: 32px; border-radius: 5px; background: #f2d8b6; }
.dsp-cards span:nth-child(2) { background: #d8e1ca; }
.dsp-cards span:nth-child(3) { background: #e9c7bf; }
.dsp-browser-lines { display: flex; gap: 5px; margin-top: 10px; }
.dsp-browser-lines i { height: 4px; width: 29%; border-radius: 5px; background: #e9ded0; }
.dsp-spark { position: absolute; color: #9b6937; }
.dsp-spark-one { top: 18px; right: 27px; font-size: 25px; }
.dsp-spark-two { bottom: 18px; left: 22px; font-size: 25px; }
.dsp-modal h2 {
    margin: 0 0 11px;
    color: #493728;
    font-size: clamp(23px, 5vw, 29px);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -.025em;
}
.dsp-modal p { margin: 0; }
.dsp-modal #dsp-description {
    margin-bottom: 20px;
    color: #675544;
    font-size: 14px;
    line-height: 1.6;
}
.dsp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 49px;
    padding: 13px 16px;
    border-radius: 12px;
    background: #dda75d;
    color: #392719 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    transition: background .18s ease, transform .18s ease;
}
.dsp-cta:hover { background: #e7b972; color: #392719 !important; transform: translateY(-1px); }
.dsp-modal .dsp-note {
    margin-top: 12px;
    color: #8b7762;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}
body.dsp-popup-open { overflow: hidden; }
@keyframes dsp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) {
    .dsp-overlay { padding: 12px; }
    .dsp-modal { padding: 22px 19px 20px; border-radius: 18px; max-height: calc(100vh - 24px); }
    .dsp-visual { min-height: 120px; margin: 15px 0 17px; }
    .dsp-browser-content { padding: 10px; }
    .dsp-cards span { height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
    .dsp-overlay.dsp-is-visible { animation: none; }
    .dsp-cta { transition: none; }
}
