.privacy-consent[hidden] {
  display: none;
}

.privacy-consent {
  position: fixed;
  z-index: 2147483646;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid #d6ddd7;
  border-radius: 8px;
  background: #ffffff;
  color: #172019;
  box-shadow: 0 8px 30px rgba(20, 35, 24, 0.2);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.privacy-consent__copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}

.privacy-consent__copy p {
  margin: 0;
}

.privacy-consent__copy a {
  color: #176b3a;
  font-weight: 700;
}

.privacy-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.privacy-consent__button,
.privacy-settings {
  min-height: 40px;
  border: 1px solid #176b3a;
  border-radius: 6px;
  padding: 8px 16px;
  font: 700 14px/1 Arial, sans-serif;
  cursor: pointer;
}

.privacy-consent__button--primary {
  background: #176b3a;
  color: #ffffff;
}

.privacy-consent__button--secondary {
  background: #ffffff;
  color: #176b3a;
}

.privacy-settings {
  position: fixed;
  z-index: 2147483645;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  background: #ffffff;
  color: #176b3a;
  box-shadow: 0 3px 12px rgba(20, 35, 24, 0.18);
}

.privacy-settings__icon {
  width: 24px;
  height: 24px;
  fill: #e9f7ef;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .privacy-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .privacy-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body.has-mobile-product-nav .privacy-consent {
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-product-nav .privacy-settings {
    right: 16px;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
}
