/* Apricot Drift — orange watercolor florals and drifting petals from the supplied clip. */
body.theme-apricot-drift{
  --radius:20px;--on-primary:#fff;
  --shadow:0 14px 34px -20px rgba(104,70,48,.3);
  position:relative;isolation:isolate;background:#f5efe4;color:#4c4038;
}

/* Static poster remains as a graceful fallback when motion is reduced. */
body.theme-apricot-drift::before{
  content:"";position:fixed;inset:0;z-index:54;pointer-events:none;
  background:url('/themes/apricot-drift/apricot-drift-poster.jpg') center/cover no-repeat;
  opacity:0;mix-blend-mode:normal;filter:brightness(1.08) saturate(1.25);
}

/* Keep the actual loop from the user's clip visible throughout the invitation. */
body.theme-apricot-drift .apricot-drift-motion{
  position:fixed;z-index:55;inset:0;width:100vw;height:100vh;height:100dvh;
  object-fit:cover;object-position:center;opacity:.82;mix-blend-mode:normal;
  filter:brightness(1.08) saturate(1.25);pointer-events:none;
}

.theme-apricot-drift .shell{position:relative;z-index:56}
.theme-apricot-drift .main{background:transparent;background-image:none}
.theme-apricot-drift .sec{background:transparent}
.theme-apricot-drift .hero{background:linear-gradient(180deg,rgba(255,251,242,.48),rgba(245,239,228,.3))}

/* Airy cover: retain an invitation's own cover photo when one is supplied. */
.theme-apricot-drift .cover{background-color:rgba(245,239,228,.12);color:#4c4038}
.theme-apricot-drift.is-locked .shell{visibility:hidden}
.theme-apricot-drift .cover__bg{background-color:rgba(245,239,228,.24)}
.theme-apricot-drift .cover__title,.theme-apricot-drift .hero__title,
.theme-apricot-drift .person__nick,.theme-apricot-drift .closing__title,
.theme-apricot-drift .side__title{color:#a86134}
.theme-apricot-drift .cover__label,.theme-apricot-drift .cover__guest,
.theme-apricot-drift .cover__to,.theme-apricot-drift .cover__date{color:#5d5045}
.theme-apricot-drift .cover__title,.theme-apricot-drift .cover__date{ text-shadow:0 1px 12px rgba(255,250,246,.72) }
.theme-apricot-drift .cover__frame,.theme-apricot-drift .person__photo{
  border-color:#fffbf2;outline-color:#c5763f;box-shadow:var(--shadow)
}
.theme-apricot-drift .monogram{background:radial-gradient(circle at 32% 26%,#f6e3d3,#fffbf2 72%);color:#aa5b32}
.theme-apricot-drift .sec__title,.theme-apricot-drift .event__name,
.theme-apricot-drift .event__num,.theme-apricot-drift .countdown b,
.theme-apricot-drift .timeline__date{color:#aa5b32}
.theme-apricot-drift .event,.theme-apricot-drift .quote__box,
.theme-apricot-drift .card,.theme-apricot-drift .countdown div,.theme-apricot-drift .wish{
  background:rgba(255,250,246,.94);border:1px solid rgba(197,118,63,.2);
  box-shadow:var(--shadow);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)
}
.theme-apricot-drift .btn--primary{background:#c5763f;border-color:#aa5b32;color:#fff;box-shadow:0 8px 20px -8px rgba(170,91,50,.38)}
.theme-apricot-drift .btn--primary:hover{background:#b46437}
.theme-apricot-drift .btn--ghost{color:#aa5b32;border-color:rgba(170,91,50,.45)}
.theme-apricot-drift .form input:not([type=radio]),.theme-apricot-drift .form textarea,
.theme-apricot-drift .form select{background:rgba(255,250,246,.96);color:#4c4038;border-color:rgba(197,118,63,.28)}
.theme-apricot-drift .bottom-nav{background:rgba(255,250,246,.96);border-top:1px solid rgba(197,118,63,.2);z-index:70}
.theme-apricot-drift .side:not([style]){background-color:rgba(245,239,228,.76);background-image:none;color:#4c4038}
.theme-apricot-drift .side__overlay{position:relative;z-index:1;padding:28px 32px;border:1px solid rgba(197,118,63,.18);border-radius:20px;background:rgba(255,250,246,.78);backdrop-filter:blur(5px)}
.theme-apricot-drift .side__label{color:#aa5b32}
.theme-apricot-drift .gift__qr{background:#fff}
.theme-apricot-drift .toast{background:#aa5b32;color:#fff}

@media(min-width:900px){
  body.theme-apricot-drift .apricot-drift-motion{left:50vw;right:auto;width:50vw;object-fit:cover;object-position:center;opacity:.75}
  body.theme-apricot-drift::before{left:50vw;right:0;background-size:cover;background-position:center}
}
@media(max-width:480px){
  .theme-apricot-drift .sec{padding-left:22px;padding-right:22px}
  .theme-apricot-drift .cover__corner,.theme-apricot-drift .corner{opacity:.3}
  body.theme-apricot-drift .apricot-drift-motion{opacity:.82}
}
@media(prefers-reduced-motion:reduce){
  body.theme-apricot-drift .apricot-drift-motion{display:none!important}
  body.theme-apricot-drift::before{opacity:.76;mix-blend-mode:normal}
  .theme-apricot-drift *{scroll-behavior:auto!important}
}
