#cookies,
.cookies-banner {
  transition: 0.5s all ease;
  position: fixed;
  max-width: 90%;
  bottom: -100vh;
  background: #2a211a;
  border-radius: 16px;
  z-index: 9999;
  text-align: center;
  width: 800px;
  margin: auto;
  right: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#cookies.active,
#cookies.show,
.cookies-banner.active,
.cookies-banner.show {
  bottom: 30px !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#cookies .grid-cookies,
.cookies-content {
  padding: 8px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#cookies .grid-cookies span,
.cookies-content p {
  font-weight: 400;
  line-height: 1.6;
  font-size: 14px;
  text-align: left;
  font-family: var(--font-body), 'Inter', sans-serif;   
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cookies-content a {
  color: #c19578;
  text-decoration: underline;
}

.cookies-content a:hover {
  color: #9b6f50;
}

#cookies .grid-cookies a.accept-cookies,
#cookies .accept-cookies,
.cookies-banner .accept-cookies,
button.accept-cookies {
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--font-body), 'Inter', sans-serif;
  font-weight: 600;
  color: #fff;
  background: #9b6f50;
  padding: 12px 28px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

#cookies .accept-cookies:hover,
.cookies-banner .accept-cookies:hover,
button.accept-cookies:hover {
  background: #8a5f42;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  #cookies,
  .cookies-banner {
    width: 95%;
    max-width: 95%;
  }
  
  #cookies.active,
  #cookies.show,
  .cookies-banner.active,
  .cookies-banner.show {
    bottom: 20px !important;
  }
  
  #cookies .grid-cookies,
  .cookies-content {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }
  
  #cookies .grid-cookies span,
  .cookies-content p {
    text-align: center;
    font-size: 13px;
  }
  
  #cookies .accept-cookies,
  .cookies-banner .accept-cookies,
  button.accept-cookies {
    width: 100%;
    max-width: 200px;
  }
}