/*
 * CookieYes banner, styled like esploristudio.com's (copied from esplori/cookieyes-head.html, 16 Oct 2026):
 * a plain white box, three identical outlined buttons stacked full width, no "Powered by CookieYes".
 * Only the font differs: the demo's Inter Tight.
 */
/* Box */
.cky-consent-container,
.cky-consent-container .cky-consent-bar {
  border-radius: 24px !important;
  overflow: hidden !important;
}
/* Shadow on the outer box: the inner one's shadow would be clipped by overflow: hidden */
.cky-consent-container {
  box-shadow: 0 24px 64px rgba(2, 13, 24, .35), 0 4px 16px rgba(2, 13, 24, .2) !important;
}
.cky-consent-container .cky-consent-bar {
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--wp--preset--font-family--inter-tight, inherit) !important;
}
.cky-consent-bar .cky-notice-content-wrapper {
  padding: 32px 32px 32px !important;
}
.cky-consent-bar .cky-title,
.cky-consent-bar .cky-notice-des,
.cky-consent-bar .cky-notice-btn-wrapper {
  padding: 0 !important;
}

/* Hide "Powered by CookieYes" and the empty row it leaves behind */
[data-cky-tag="powered-by"],
.cky-consent-bar > div:has(> [data-cky-tag="powered-by"]),
.cky-modal div:has(> [data-cky-tag="powered-by"]) {
  display: none !important;
}

/* Text */
.cky-consent-bar .cky-title {
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  margin: 0 0 16px !important;
}
.cky-consent-bar .cky-notice-des,
.cky-consent-bar .cky-notice-des * {
  color: #000 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.cky-consent-bar .cky-notice-des {
  max-height: none !important;
  overflow: visible !important;
}
.cky-consent-bar .cky-notice-des a {
  color: #000 !important;
  text-decoration: underline !important;
  border: none !important;
}

/* Buttons: all three identical, stacked full width */
.cky-consent-bar .cky-notice-btn-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 24px 0 0 !important;
}
.cky-consent-bar .cky-btn,
.cky-consent-bar .cky-btn-accept,
.cky-consent-bar .cky-btn-reject,
.cky-consent-bar .cky-btn-customize {
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  transition: background .2s, color .2s !important;
}
.cky-consent-bar .cky-btn-accept { order: 1 !important; }
.cky-consent-bar .cky-btn-reject { order: 2 !important; }
.cky-consent-bar .cky-btn-customize { order: 3 !important; }
.cky-consent-bar .cky-btn:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Mobile: float the box off the screen edges so all four corners show rounded */
@media (max-width: 576px) {
  .cky-consent-container {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 24px) !important;
    overflow-y: auto !important;
  }
  .cky-consent-bar .cky-notice-content-wrapper {
    padding: 24px !important;
  }
}
