.og-cookie {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
background: var(--slate-dark); color: #e2e8f0;
border-top: 3px solid var(--green);
box-shadow: 0 -8px 30px -12px rgba(0,0,0,.45);
transform: translateY(110%);
transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.og-cookie[hidden] { display: none; }
.og-cookie.is-visible { transform: translateY(0); }
.og-cookie__inner {
display: flex; flex-direction: column; gap: 14px;
padding-block: var(--space-16, 16px); align-items: flex-start;
}
.og-cookie__title {
font-family: var(--font-display); font-weight: var(--fw-bold, 700); font-size: 15px; color: #fff;
display: flex; align-items: center; gap: var(--space-8, 8px); margin-bottom: var(--space-4, 4px);
}
.og-cookie__icon { font-size: 18px; }
.og-cookie__desc { font-size: 13.5px; line-height: 1.6; color: #cbd5e1; max-width: 760px; }
.og-cookie__link { color: var(--green-bright); font-weight: var(--fw-semibold, 600); text-decoration: underline; text-underline-offset: 2px; }
.og-cookie__link:hover { color: #93c5fd; }
.og-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.og-cookie__btn { min-height: 44px; flex: 1; }
.og-cookie .og-cookie__btn.btn-secondary {
background: transparent; color: #e2e8f0; border-color: rgba(255,255,255,.25);
}
.og-cookie .og-cookie__btn.btn-secondary:hover { border-color: var(--green); color: #fff; background: rgba(255,255,255,.04); }
@media (min-width: 768px) {
.og-cookie__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
.og-cookie__actions { width: auto; flex-shrink: 0; }
.og-cookie__btn { flex: 0 0 auto; padding-inline: 22px; }
}
@media (max-width: 1023.98px) {
.og-cookie { bottom: calc(var(--og-bottomnav-h, 64px) + env(safe-area-inset-bottom, 0px)); }
}
:root { --og-bottomnav-h: 64px; }
.og-bottomnav {
display: none;
position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
border-top: 1px solid var(--border);
box-shadow: 0 -6px 24px -16px rgba(15,23,42,.4);
padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 1023.98px) {
.og-bottomnav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: stretch; }
body { padding-bottom: calc(var(--og-bottomnav-h) + env(safe-area-inset-bottom, 0px)); }
.back-to-top { bottom: calc(var(--og-bottomnav-h) + 16px); }
.sticky-atc { bottom: var(--og-bottomnav-h); }
html { scroll-padding-bottom: calc(var(--og-bottomnav-h) + 12px); }
html.og-atc-visible { scroll-padding-bottom: calc(var(--og-bottomnav-h) + var(--og-atc-h, 74px) + 12px); }
body .sticky-atc.is-visible ~ .back-to-top.is-visible {
bottom: calc(var(--og-bottomnav-h) + var(--og-atc-h, 74px) + 12px);
}
}
.og-bottomnav__item {
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
min-height: var(--og-bottomnav-h); padding: 6px 4px;
background: transparent; border: 0; color: var(--slate-500);
font-family: var(--font-body); font-size: 11px; font-weight: var(--fw-semibold, 600);
text-align: center; position: relative;
transition: color .2s ease;
-webkit-tap-highlight-color: transparent;
}
.og-bottomnav__item:hover { color: var(--green); }
.og-bottomnav__item.is-active { color: var(--green-dark); }
.og-bottomnav__item.is-active::before {
content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green);
}
.og-bottomnav__icon { position: relative; display: inline-flex; }
.og-bottomnav__icon svg { width: 20px; height: 20px; display: block; }
.og-bottomnav__label {
display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
letter-spacing: -.01em;
}
.og-bottomnav__item:focus-visible { outline: 2px solid var(--green); outline-offset: -4px; border-radius: var(--radius-8, 8px); }
@media (max-width: 380px) {
.og-bottomnav__item { padding-inline: 2px; font-size: 10px; }
.og-bottomnav__label { letter-spacing: -.02em; }
}
.og-bottomnav__count {
position: absolute; top: -6px; right: -10px;
min-width: 18px; height: 18px; padding: 0 5px;
display: none; align-items: center; justify-content: center;
background: var(--green); color: #fff; border-radius: var(--radius-pill, 999px);
font-size: 11px; font-weight: var(--fw-bold, 700); line-height: var(--lh-flat, 1);
border: 2px solid rgba(255,255,255,.96);
}
.og-bottomnav__count.is-visible { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
.og-cookie,
html { transition: none !important; }
}
