/* Styles for sections/sam-sticky-bar.liquid — shared tokens & components live in sam-base.css */

.cl-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--color-navy-dark);
  padding: 14px 16px calc(22px + env(safe-area-inset-bottom));
  text-align: center; box-shadow: 0 -8px 28px rgba(0,0,0,0.28);
  transform: translateY(135%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.34s ease, opacity 0.28s ease, visibility 0s linear 0.34s;
}

.cl-sticky.show { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform 0.34s ease, opacity 0.28s ease, visibility 0s; }
.cl-sticky-badge {
  display: inline-block; position: relative; z-index: 2; top: 6px;
  background: #FBBF24; color: var(--color-ink);
  font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: -8px;
}

.cl-sticky-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 540px; margin: 0 auto;
  background: var(--color-blue); color: var(--color-ink);
  font-family: var(--font-body); font-weight: 700;
  font-size: 17px; letter-spacing: 0.02em;
  padding: 18px 22px; border-radius: 16px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(46,155,240,0.32);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cl-sticky-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(46,155,240,0.45); }
.cl-sticky-btn:active { transform: translateY(0); }

/* Same bar and slide-in motion, updated to the Quo Labs Sam palette. */
.sam-sticky-bar--brand { display: block; }
.sam-sticky-bar--brand .cl-sticky {
  display: block;
  background: var(--color-navy, #0e1f2f);
  padding: 8px max(20px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-shadow: 0 -6px 24px rgb(14 31 47 / 14%);
}
.sam-sticky-bar--brand .cl-sticky-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
  padding: 6px 16px;
  background: var(--color-yellow, #ffe789);
  color: var(--color-navy, #0e1f2f);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}
.sam-sticky-bar--brand .cl-sticky-btn {
  margin: 0 auto;
  background: var(--color-blue, #82ccf4);
  color: var(--color-navy, #0e1f2f);
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: none;
  min-height: 60px;
  padding: 18px 22px 14px;
  border-radius: 16px;
  letter-spacing: 0;
}
.sam-sticky-bar--brand .cl-sticky-btn:hover { background: #a0dafa; box-shadow: none; }
@media (min-width: 769px) { .sam-sticky-bar--brand { display: none; } }
@media (max-width: 768px) {
  body.sam-concept:has(.sam-sticky-bar--brand) { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .cl-sticky, .cl-sticky.show, .cl-sticky-btn { transition: none; }
}
