/* Cookies */

#cookie-notice {
  z-index: 21 !important;
}

.cn-close-icon {
  right: 5px !important;
  top: 40% !important;
  opacity: .9 !important;
}

.cn-close-icon:before,
.cn-close-notice:before,
.cn-close-notice:after,
.cn-close-icon:after {
  background-color: #fff !important;
}

#cookie-notice {
  z-index: 21 !important;
}

#cn-notice-text a {
  color: #ffb03b !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

#cn-notice-text a:hover {
  color: #ff9d0c !important;
}


/* --- Buttons container --- */
#cookie-notice #cn-notice-buttons {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  padding: 6px 8px !important;
  border-radius: 18px !important;

  background-color: transparent !important;
  color: inherit !important;
}

/* --- Buttons base --- */
#cookie-notice #cn-notice-buttons .cn-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
  border-radius: 18px !important;
  line-height: 1.2 !important;

  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;

  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  background-image: none !important;
}

/* ✅ Accept */
#cookie-notice #cn-accept-cookie {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #1f1f1f !important;
}

#cookie-notice #cn-accept-cookie:hover {
  background-color: #ffb03b !important;
  border-color: #ffb03b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 14px rgba(255, 176, 59, 0.35) !important;
}

/* ❌ Refuse */
#cookie-notice #cn-refuse-cookie {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
}

#cookie-notice #cn-refuse-cookie:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2) !important;
}

/* Focus */
#cookie-notice #cn-notice-buttons .cn-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45) !important;
}

/* Mobile stack */
@media screen and (max-width: 480px) {
  #cookie-notice #cn-notice-buttons {
    width: 100% !important;
  }

  #cookie-notice #cn-notice-buttons .cn-button {
    width: 100% !important;
  }
}

/* Jeśli chcesz zachować Twoje 150px na mniejszych ekranach, ale dalej flex: */
@media screen and (max-width: 1280px) {
  #cookie-notice #cn-notice-buttons {
    margin: 0.8em auto 0 auto !important;
		width: 100%;
  }
}

@media screen and (max-width: 980px) {
  #cn-notice-text a {
    font-size: 1em;
    font-weight: normal;
  }
}

@media (max-width: 900px) {
  #cookie-notice .cn-button {
    margin: 0 !important;
  }
}