.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
  color: #333;
  font-family: Arial, sans-serif;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__content {
  flex: 1;
}

.cookie-consent__title {
  margin-bottom: 6px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.cookie-consent__text {
  font-size: 14px;
  line-height: 1.6;
}

.cookie-consent__policy {
  color: #3f9041;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cookie-consent__policy:hover {
  text-decoration: underline;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__button {
  min-width: 120px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: #3f9041;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.cookie-consent__button:hover {
  background: #40b643;
}

.cookie-consent__link-btn {
  min-width: auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3f9041;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.cookie-consent__link-btn:hover {
  text-decoration: underline;
}

.cookie-consent__button--outline {
  border: 1px solid #3f9041;
  background: #fff;
  color: #3f9041;
}

.cookie-consent__button--outline:hover {
  background: #f0f8f0;
}

.cookie-modal {
  position: fixed;
  z-index: 9999;
  display: none;
  inset: 0;
  font-family: Arial, sans-serif;
}

.cookie-modal.is-visible {
  display: block;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.cookie-modal__panel {
  position: relative;
  max-width: 640px;
  max-height: 86vh;
  margin: 7vh auto;
  padding: 26px;
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 45px rgba(0, 0, 0, .25);
  color: #333;
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.cookie-modal__title {
  margin: 0 36px 10px 0;
  color: #333;
  font-size: 24px;
}

.cookie-modal__intro {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-option {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.cookie-option label {
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.cookie-option input {
  margin-right: 8px;
}

.cookie-option p {
  margin: 6px 0 0 24px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: none;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent.is-visible {
    display: flex;
  }

  .cookie-consent__actions,
  .cookie-modal__actions {
    flex-direction: column;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .cookie-modal__panel {
    max-height: 90vh;
    margin: 5vh 12px;
    padding: 22px 18px;
  }
}
