.double12-banner[hidden] { display: none; }
.double12-banner { margin-block: 34px 12px; }
.double12-banner > a {
  display: block;
  overflow: hidden;
  border: 1px solid #e7dcc6;
  border-radius: 20px;
  background: #fbf7ed;
  color: #102920;
  text-decoration: none;
}
.double12-banner > a:focus-visible { outline: 3px solid #006f48; outline-offset: 4px; }
.double12-wide { display: block; width: 100%; height: auto; }
.double12-compact { display: none; }
.double12-float {
  position: fixed;
  z-index: 29;
  inset-inline-end: max(16px, env(safe-area-inset-right, 0px));
  inset-block-end: max(48px, calc(env(safe-area-inset-bottom, 0px) + 20px));
  width: min(216px, calc(100vw - 40px));
  border: 1px solid #c9e3d5;
  border-radius: 20px;
  background: linear-gradient(155deg, #fefff9, #ecf7ef);
  color: #12352a;
  box-shadow: 0 12px 30px #163d3026, 0 2px 6px #163d300c;
  animation: double12-drift var(--double12-duration, 9s) ease-in-out infinite;
  animation-delay: var(--double12-delay, 0s);
}
.double12-float:hover, .double12-float:focus-within { animation-play-state: paused; }
.double12-float-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 34px 12px 12px;
  border-radius: inherit;
  line-height: 1.25;
}
.double12-float-link img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}
.double12-float-copy { display: grid; gap: 3px; min-width: 0; }
.double12-float-copy strong { font-size: 13px; white-space: nowrap; }
.double12-float-copy > span { white-space: nowrap; }
.double12-float-copy b { color: #006d4a; font-size: 21px; font-variant-numeric: tabular-nums; }
.double12-float-copy small { color: #526a60; font-size: 11px; }
.double12-float-buy { color: #006443; font-size: 12px; font-weight: 750; }
.double12-float-link:hover .double12-float-buy { text-decoration: underline; text-underline-offset: 3px; }
.double12-float-close {
  position: absolute;
  inset: 1px 1px auto auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #456357;
  line-height: 1;
  font-size: 22px;
}
.double12-float-close:hover { background: #d9eee2; }
@keyframes double12-drift {
  0%, 14%, 94%, 100% { transform: translate(0, 0); }
  35%, 47% { transform: translate(calc(var(--double12-drift-x, -12px) / 2), var(--double12-drift-y, -14px)); }
  68%, 80% { transform: translate(var(--double12-drift-x, -12px), -4px); }
}
@media (prefers-reduced-motion: reduce) { .double12-float { animation: none; } }
@media (max-width: 640px) {
  .double12-banner { margin-block: 22px 8px; }
  .double12-wide { display: none; }
  .double12-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(37%, 150px);
    gap: 8px;
    align-items: center;
    padding: 12px;
  }
  .double12-compact strong, .double12-compact span { display: block; }
  .double12-compact strong { font-size: 17px; }
  .double12-compact span { margin-top: 3px; font-size: 12px; color: #3d5449; }
  .double12-compact b { font: bold 32px Georgia, serif; color: #006f48; }
  .double12-compact .double12-cta { font-weight: 700; color: #006f48; }
  .double12-compact img { display: block; width: 100%; height: auto; border-radius: 10px; }
  .double12-float { inset-block-end: max(26px, calc(env(safe-area-inset-bottom, 0px) + 12px)); }
}
