.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 10050;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cookie-consent__inner {
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 36, 56, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(20, 36, 56, 0.18);
  color: #1c2d3f;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__button {
  flex: 0 0 auto;
  min-width: 112px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: #00a6b3;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus {
  background: #078b96;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .cookie-consent {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
  }

  .controller-shop-items.action-view .cookie-consent {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .cookie-consent__inner {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .cookie-consent__text {
    font-size: 13px;
    line-height: 1.3;
  }

  .cookie-consent__button {
    width: auto;
    min-width: 92px;
    padding: 9px 12px;
  }
}
