/* Ott Brother's Painting — holiday giveaway popup + session banner */
.ott-giveaway{
  position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;
  padding:16px;font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.ott-giveaway[hidden]{display:none!important}
.ott-giveaway-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}
.ott-giveaway-dialog{
  position:relative;z-index:1;width:100%;max-width:500px;max-height:90vh;
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--ink,#231F20);color:#e9eef0;
  border:1px solid rgba(0,255,255,.35);border-radius:18px;
  box-shadow:0 30px 60px rgba(0,0,0,.45);
  box-sizing:border-box;
}
.ott-giveaway-scroll{
  overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding:32px 28px 24px;box-sizing:border-box;
}
.ott-giveaway-close{
  position:absolute;top:8px;right:8px;width:44px;height:44px;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--ink,#231F20);border:0;color:#fff;border-radius:10px;cursor:pointer;padding:0;
}
.ott-giveaway-close:hover{color:var(--cyan,#00FFFF)}
.ott-giveaway-eyebrow{
  display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:.18em;
  text-transform:uppercase;color:var(--cyan,#00FFFF);margin:0 0 10px;
}
.ott-giveaway-dialog h2{
  font-weight:800;line-height:1.15;color:#fff;letter-spacing:-.01em;
  margin:0 0 10px;font-size:1.45rem;
}
.ott-giveaway-dialog #ott-giveaway-intro{
  color:var(--mute,#b9c3c6);font-size:.95rem;line-height:1.55;margin:0 0 16px;
}
.ott-giveaway-howto{margin:0 0 14px}
.ott-giveaway-howto h3{
  margin:0 0 8px;font-size:.78rem;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--cyan,#00FFFF);
}
.ott-giveaway-howto ol{
  margin:0;padding:0 0 0 1.3em;color:#e9eef0;
  font-size:.92rem;line-height:1.45;
}
.ott-giveaway-howto li{margin:0 0 6px;padding:0}
.ott-giveaway-howto li:last-child{margin-bottom:0}
.ott-giveaway-email{
  color:var(--cyan,#00FFFF);font-weight:700;text-decoration:underline;
  text-underline-offset:2px;word-break:break-word;
}
.ott-giveaway-email:hover{color:#fff}
.ott-giveaway-fb{
  margin:8px 0 0;font-size:.8rem;line-height:1.4;color:var(--mute,#b9c3c6);
}
.ott-giveaway-deadline{
  margin:0 0 16px;padding:10px 12px;
  background:rgba(0,255,255,.08);
  border:1px solid rgba(0,255,255,.35);
  border-radius:10px;
  color:#fff;font-size:.85rem;line-height:1.45;
}
.ott-giveaway-deadline strong{color:var(--cyan,#00FFFF);font-weight:800}
.ott-giveaway-cta{
  width:100%;box-sizing:border-box;text-align:center;
}
/* Keep body copy clear of the absolutely positioned close button while scrolling */
.ott-giveaway-scroll > *:not(.ott-giveaway-cta){margin-right:28px}
.ott-giveaway-deadline strong{white-space:nowrap}
.ott-giveaway-rules{
  margin:14px 0 0;
  font-size:.72rem;line-height:1.45;color:var(--mute,#b9c3c6);
}
.ott-giveaway-rules summary{
  cursor:pointer;font-weight:700;color:#e9eef0;font-size:.8rem;
  padding:4px 0;
}
.ott-giveaway-rules summary:hover,
.ott-giveaway-rules summary:focus,
.ott-giveaway-rules[open] summary{color:var(--cyan,#00FFFF)}
.ott-giveaway-rules ul{margin:8px 0 0;padding:0 0 0 1.15em}
.ott-giveaway-rules li{margin:0 0 6px}
.ott-giveaway-rules li:last-child{margin-bottom:0}
body.ott-giveaway-lock{overflow:hidden}
@media (max-width:390px){
  .ott-giveaway{padding:12px}
  .ott-giveaway-scroll{padding:26px 18px 16px}
  .ott-giveaway-dialog h2{font-size:1.22rem;margin:0 0 8px}
  .ott-giveaway-dialog #ott-giveaway-intro{font-size:.88rem;line-height:1.45;margin:0 0 12px}
  .ott-giveaway-howto{margin:0 0 12px}
  .ott-giveaway-howto ol{font-size:.86rem}
  .ott-giveaway-howto li{margin:0 0 5px}
  .ott-giveaway-fb{font-size:.76rem;margin:6px 0 0}
  .ott-giveaway-deadline{font-size:.8rem;padding:8px 10px;margin:0 0 12px}
  .ott-giveaway-rules{margin:12px 0 0}
  .ott-giveaway-scroll > *:not(.ott-giveaway-cta){margin-right:34px}
}
@media (max-width:360px){
  .ott-giveaway-scroll{padding:20px 16px 12px}
  .ott-giveaway-dialog #ott-giveaway-intro{margin:0 0 8px}
  .ott-giveaway-howto{margin:0 0 8px}
  .ott-giveaway-howto li{margin:0 0 4px}
  .ott-giveaway-fb{margin:4px 0 0}
  .ott-giveaway-deadline{padding:7px 10px;margin:0 0 10px}
  .ott-giveaway-cta.btn{padding-top:13px;padding-bottom:13px}
  .ott-giveaway-rules{margin:8px 0 0}
}
@media (prefers-reduced-motion:no-preference){
  .ott-giveaway.is-open .ott-giveaway-backdrop{animation:ottGiveawayFade .2s ease}
  .ott-giveaway.is-open .ott-giveaway-dialog{animation:ottGiveawayPop .22s ease}
}
@keyframes ottGiveawayFade{from{opacity:0}to{opacity:1}}
@keyframes ottGiveawayPop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}

/* Post-close session banner: sits just above the mobile sticky call/estimate bar,
   or at the bottom of the viewport on desktop. Dismiss-free. */
.ott-giveaway-banner{
  position:fixed;left:0;right:0;bottom:var(--ott-gw-callbar-h,0px);z-index:9999;
  display:flex;align-items:center;gap:10px;box-sizing:border-box;
  background:#000;color:#fff;border-top:1px solid rgba(0,255,255,.4);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  padding:6px 12px;max-height:48px;
}
.ott-giveaway-banner[hidden]{display:none!important}
.ott-giveaway-banner-text{
  flex:1 1 auto;margin:0;font-size:12px;font-weight:700;line-height:1.25;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
.ott-giveaway-banner-cta{
  flex:0 0 auto;background:var(--cyan,#00FFFF);color:var(--ink,#231F20);
  font-weight:800;font-size:12px;line-height:1;text-decoration:none;
  border-radius:999px;padding:6px 12px;white-space:nowrap;
}
.ott-giveaway-banner-cta:hover{background:#fff;color:var(--ink,#231F20)}
@media (min-width:641px){
  .ott-giveaway-banner{padding:8px 18px;max-height:none}
  .ott-giveaway-banner-text{font-size:14px;-webkit-line-clamp:1;line-height:1.3}
  .ott-giveaway-banner-cta{font-size:13px;padding:7px 14px}
}
