#gv-cookie-consent, #gv-cookie-consent *, #gv-cookie-consent *::before, #gv-cookie-consent *::after {
  box-sizing: border-box;
}
#gv-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--gv-z-cookie);
  font-family: var(--gv-font-sans);
  pointer-events: none;
}
#gv-cookie-consent[hidden] { display: none; }
.gv-cookie-bar {
  pointer-events: auto;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--gv-surface);
  border: 1px solid var(--gv-border);
  border-bottom: none;
  box-shadow: var(--gv-shadow-xl);
  border-radius: var(--gv-radius-lg) var(--gv-radius-lg) 0 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--gv-transition-slow), opacity var(--gv-transition-slow);
}
@media (min-width: 992px) {
  .gv-cookie-bar {
    border-left: 1px solid var(--gv-border);
    border-right: 1px solid var(--gv-border);
    margin-bottom: 1.25rem;
    border-radius: var(--gv-radius-lg);
  }
}
#gv-cookie-consent.gv-cc-visible .gv-cookie-bar {
  transform: translateY(0);
  opacity: 1;
}
.gv-cc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--gv-radius-md);
  background: var(--gv-primary-subtle);
  color: var(--gv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.gv-cc-body {
  flex: 1 1 320px;
  min-width: 0;
}
.gv-cc-title {
  font-family: var(--gv-font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--gv-text-primary);
  margin: 0 0 0.3rem;
}
.gv-cc-text {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--gv-text-secondary);
  margin: 0;
}
.gv-cc-text a {
  color: var(--gv-primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.gv-cc-text a:hover { text-decoration: underline; }
.gv-cc-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.gv-cc-btn {
  font-family: var(--gv-font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--gv-radius-full);
  padding: 0.62rem 1.1rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background var(--gv-transition), transform var(--gv-transition), border-color var(--gv-transition), color var(--gv-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.gv-cc-btn:focus-visible {
  outline: 2px solid var(--gv-primary);
  outline-offset: 2px;
}
.gv-cc-btn-ghost {
  background: transparent;
  color: var(--gv-text-secondary);
  border-color: var(--gv-border-2);
}
.gv-cc-btn-ghost:hover {
  background: var(--gv-bg-2);
  color: var(--gv-text-primary);
}
.gv-cc-btn-outline {
  background: var(--gv-surface);
  color: var(--gv-primary-dark);
  border-color: var(--gv-primary-light);
}
.gv-cc-btn-outline:hover {
  background: var(--gv-primary-subtle);
}
.gv-cc-btn-solid {
  background: var(--gv-primary);
  color: var(--gv-text-inverse);
}
.gv-cc-btn-solid:hover {
  background: var(--gv-primary-dark);
  transform: translateY(-1px);
}
.gv-cc-panel {
  pointer-events: auto;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--gv-surface);
  border: 1px solid var(--gv-border);
  border-radius: var(--gv-radius-lg);
  box-shadow: var(--gv-shadow-xl);
  margin-bottom: 1.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--gv-transition-slow), opacity var(--gv-transition-slow), margin var(--gv-transition-slow);
}
#gv-cookie-consent.gv-cc-panel-open .gv-cc-panel {
  max-height: 65vh;
  opacity: 1;
  overflow-y: auto;
}
.gv-cc-panel-inner { padding: 1.5rem; }
.gv-cc-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--gv-border);
}
.gv-cc-panel-head h2 {
  font-family: var(--gv-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--gv-text-primary);
}
.gv-cc-panel-head p {
  font-size: 0.85rem;
  color: var(--gv-text-secondary);
  margin: 0;
  max-width: 520px;
}
.gv-cc-panel-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--gv-radius-full);
  border: 1px solid var(--gv-border-2);
  background: var(--gv-surface-2);
  color: var(--gv-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--gv-transition), color var(--gv-transition);
}
.gv-cc-panel-close:hover { background: var(--gv-bg-2); color: var(--gv-text-primary); }
.gv-cc-panel-close:focus-visible { outline: 2px solid var(--gv-primary); outline-offset: 2px; }
.gv-cc-category {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gv-border);
}
.gv-cc-category:last-of-type { border-bottom: none; }
.gv-cc-cat-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--gv-radius-md);
  background: var(--gv-bg-2);
  color: var(--gv-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: 0.1rem;
}
.gv-cc-cat-body { flex: 1; min-width: 0; }
.gv-cc-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.3rem;
}
.gv-cc-cat-name {
  font-family: var(--gv-font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gv-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gv-cc-required-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gv-accent-dark);
  background: rgba(14,202,212,0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--gv-radius-full);
}
.gv-cc-cat-desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--gv-text-secondary);
  margin: 0;
}
.gv-cc-switch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
}
.gv-cc-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  cursor: pointer;
  z-index: 2;
}
.gv-cc-switch input:disabled { cursor: not-allowed; }
.gv-cc-switch-track {
  position: absolute;
  inset: 0;
  background: var(--gv-border-2);
  border-radius: var(--gv-radius-full);
  transition: background var(--gv-transition);
}
.gv-cc-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(14,14,40,0.25);
  transition: transform var(--gv-transition);
}
.gv-cc-switch input:checked ~ .gv-cc-switch-track { background: var(--gv-primary); }
.gv-cc-switch input:checked ~ .gv-cc-switch-thumb { transform: translateX(18px); }
.gv-cc-switch input:disabled ~ .gv-cc-switch-track { background: var(--gv-accent-dark); opacity: 0.55; }
.gv-cc-switch input:focus-visible ~ .gv-cc-switch-track { outline: 2px solid var(--gv-primary); outline-offset: 2px; }
.gv-cc-panel-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gv-border);
}
@media (max-width: 768px) {
  .gv-cookie-bar {
    padding: 1.1rem;
    gap: 1rem;
  }
  .gv-cc-icon { width: 38px; height: 38px; font-size: 1rem; }
  .gv-cc-actions { width: 100%; }
  .gv-cc-btn { flex: 1 1 auto; justify-content: center; }
  .gv-cc-panel-inner { padding: 1.15rem; }
  .gv-cc-panel-foot { justify-content: stretch; }
  .gv-cc-panel-foot .gv-cc-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
  .gv-cc-actions { flex-direction: column; align-items: stretch; }
  .gv-cc-category { gap: 0.75rem; }
  .gv-cc-cat-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .gv-cookie-bar, .gv-cc-panel, .gv-cc-btn, .gv-cc-switch-track, .gv-cc-switch-thumb {
    transition: none !important;
  }
}