/* SPOLOČNÉ ŠTÝLY COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f1f1f1;  /* predvolené (desktop) pozadie */
  color: #3a3a3a;             /* predvolené (desktop) farba textu */
  padding: 15px 20px;
  z-index: 9999;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #354e33;             /* predvolené (desktop) farba odkazov */
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: #354e33;
  transition: color 0.3s ease;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-buttons button {
  background-color: #354e33;  /* predvolené (desktop) pozadie tlačidiel */
  color: #fff;                /* predvolené (desktop) text tlačidiel */
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: #798d7a; 
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* MOBILE – iné farby a vertikálny layout */
@media (max-width: 600px) {
  .cookie-banner {
    background-color: #798d7a; /* mobile pozadie */
    color: #f1f1f1;            /* mobile text */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cookie-banner a {
    color: #354e33;            /* mobile odkaz */
  }
  .cookie-buttons button {
    background-color: #354e33; /* mobile tlačidlo */
    color: #fff;
  }
  .cookie-buttons button:hover {
    background-color: #4e7b4b;
  }
}

/* DESKTOP – CENTRALNÉ OKNO */
@media (min-width: 601px) {
  .cookie-banner {
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 600px;
    padding: 30px 25px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-banner p {
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    margin: 0;
    flex-wrap: nowrap;
  }
}

