/* Divalyn newsletter — a real visible footer signup, brand-native and responsive.
   Reuses the store's --editorial/--ui families and real D1/Graph opt-in only. */
.dv-letter-footer{
 flex:0 0 100%;order:-10;width:100%;min-width:0;
 display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,.95fr);
 align-items:center;gap:clamp(28px,4.5vw,78px);
 padding:clamp(30px,4.3vw,68px);
 margin:0 0 clamp(16px,2vw,30px);
 border:1px solid rgba(219,157,186,.26);
 background:radial-gradient(ellipse at 93% 3%,rgba(128,56,92,.24),transparent 52%),
            linear-gradient(120deg,#151b2a,#211521);
 text-align:left;color:#f8eef4;
 position:relative;isolation:isolate;
}
footer:has(> .dv-letter-footer){flex-wrap:wrap;row-gap:17px}
footer.dvx-footer>.dv-letter-footer{margin-bottom:48px}
.dv-letter-footer:before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.015) 55%,transparent 80%);
}
.dv-letter-footer-copy{min-width:0;max-width:620px}
.dv-letter-footer-eyebrow{display:flex;align-items:center;gap:12px;margin:0!important;color:#e2aec4!important;
 font:600 10px/1.4 var(--ui,Inter,Arial,sans-serif)!important;
 letter-spacing:.18em;text-transform:uppercase}
.dv-letter-footer-eyebrow span{height:1px;width:25px;background:currentColor}
.dv-letter-footer h2{
 font:400 clamp(34px,3.2vw,55px)/1.07 var(--editorial,Didot,Georgia,serif);
 letter-spacing:-.035em;margin:15px 0 16px;color:#fbf3f4;font-weight:400;max-width:690px
}
.dv-letter-footer h2 em{font-style:italic;font-weight:400;color:#f2c3d7}
.dv-letter-footer-description{max-width:470px;color:#c8becb!important;
 font:400 13px/1.75 var(--ui,Inter,Arial,sans-serif)!important;margin:0!important}
.dv-letter-footer-action{min-width:0;width:100%}
.dv-letter-footer .dv-letter-form{display:grid;gap:12px;margin:0;max-width:570px}
.dv-letter-label{font:600 11px/1.4 var(--ui,Inter,Arial,sans-serif);color:#eadde5;text-transform:none}
.dv-letter-line{display:flex;min-width:0;gap:7px}
.dv-letter-line input{flex:1;min-width:0;min-height:52px;padding:12px 15px;background:#080e19;
 border:1px solid #b697a9;color:#fff;font:400 14px/1.4 var(--ui,Inter,Arial,sans-serif);
 border-radius:0}
.dv-letter-line input::placeholder{color:#9b9caa}
.dv-letter-line button,.dv-letter-secondary{
 display:inline-flex;align-items:center;justify-content:center;gap:13px;flex:none;
 min-height:52px;padding:12px clamp(15px,1.6vw,25px);
 background:#ecc4d2;color:#271524!important;border:1px solid #ecc4d2;
 font:600 11px/1.4 var(--ui,Inter,Arial,sans-serif);
 letter-spacing:.04em;text-decoration:none;cursor:pointer;
 transition:background .2s ease,transform .2s ease;
 white-space:nowrap
}
.dv-letter-line button:hover,.dv-letter-secondary:hover{background:#ffe1eb;transform:translateY(-2px)}
.dv-letter-line button:disabled{opacity:.65;cursor:progress;transform:none}
.dv-letter-optin{display:flex;align-items:flex-start;gap:11px;max-width:545px;color:#cfc5d0;
 font:400 11px/1.65 var(--ui,Inter,Arial,sans-serif)}
.dv-letter-optin>input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:#e3a9c1;cursor:pointer}
.dv-letter-optin a{color:#efbed1;text-decoration:underline;text-underline-offset:3px}
.dv-letter-status{min-height:21px;font:400 12px/1.5 var(--ui,Inter,Arial,sans-serif);color:#d8bdcb;margin:0}
.dv-letter-status[data-status=success]{color:#e6d4de}
.dv-letter-status[data-status=error]{color:#ffb6ac}
.dv-letter-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.dv-letter-fallback{display:grid;justify-items:start;gap:11px;max-width:440px}
.dv-letter-fallback-title{font:400 21px/1.25 var(--editorial,Didot,Georgia,serif);color:#f8edf0;margin:0!important}
.dv-letter-fallback>p:not(.dv-letter-fallback-title){color:#c2b8c4!important;font:400 12px/1.65 var(--ui,Inter,Arial,sans-serif)!important;margin:0 0 10px!important}
.dv-letter-secondary{min-height:45px;font-size:11px}
.dv-letter:where(.letter-panel){display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center}
.dv-letter:where(.letter-panel) .dv-letter-form{max-width:550px}
.dv-letter:where(.letter-panel) .dv-letter-fallback{gap:12px}
.dv-letter:where(.letter-panel) .dv-letter-form label{font-size:12px}
.dv-letter:where(.letter-panel) .dv-letter-line button{min-height:50px}
.dv-letter:where(.letter-panel) .dv-letter-status{margin:0}
footer .dv-letter-footer a:focus-visible,footer .dv-letter-footer button:focus-visible,
footer .dv-letter-footer input:focus-visible{outline:2px solid #e9b2ce;outline-offset:3px}
@media(max-width:950px){
 .dv-letter-footer{grid-template-columns:1fr;gap:24px}
 .dv-letter-footer h2{max-width:630px}
}
@media(max-width:580px){
 .dv-letter-footer{padding:26px 21px;gap:22px}
 .dv-letter-footer h2{font-size:clamp(32px,9vw,45px)}
 .dv-letter-line{flex-direction:column}
 .dv-letter-line button{width:100%;justify-content:space-between}
 .dv-letter-optin{font-size:11px}
 .dv-letter:where(.letter-panel){grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .dv-letter-line button,.dv-letter-secondary{transition:none!important}
}
