/* Scoped styles: no changes to the site typography or other Elementor widgets. */
#ypc-cookie-banner,
#ypc-cookie-reopen,
.ypc-cookie-shortcode-button {
  --ypc-navy: #102C50;
  --ypc-blue: #235278;
  --ypc-gold: #C5A46D;
  --ypc-text: #28394B;
  --ypc-line: #E3EAF1;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}
#ypc-cookie-banner *,
#ypc-cookie-banner *::before,
#ypc-cookie-banner *::after,
#ypc-cookie-reopen *,
.ypc-cookie-shortcode-button * { box-sizing: border-box; }
#ypc-cookie-banner[hidden],
#ypc-cookie-reopen[hidden],
#ypc-cookie-banner [hidden] { display: none !important; }
#ypc-cookie-banner {
  position: fixed;
  z-index: 2147482000;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(1040px, calc(100% - 36px));
  color: var(--ypc-text);
  -webkit-font-smoothing: antialiased;
}
#ypc-cookie-banner .ypc-cookie-shell {
  position: relative;
  overflow: hidden;
  padding: 23px 28px 21px;
  border-radius: 17px;
  border: 1px solid var(--ypc-line);
  background: #FFFFFF;
  box-shadow: 0 16px 58px rgba(16,44,80,.18), 0 2px 10px rgba(16,44,80,.05);
}
#ypc-cookie-banner .ypc-cookie-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,var(--ypc-gold),#d8bd8d 40%,var(--ypc-navy));
}
#ypc-cookie-banner .ypc-cookie-intro {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}
#ypc-cookie-banner .ypc-cookie-brand {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-top: 3px;
  border-radius: 12px;
  background: var(--ypc-navy);
  color: #fff;
  font: 700 13px/1 Manrope, Inter, sans-serif;
  letter-spacing: -.4px;
  box-shadow: inset 0 -3px 0 rgba(197,164,109,.65);
}
#ypc-cookie-banner .ypc-cookie-copy { min-width: 0; flex: 1; }
#ypc-cookie-banner .ypc-cookie-kicker {
  margin: 0 0 4px;
  color: var(--ypc-blue);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 1.5px;
  font-weight: 750;
}
#ypc-cookie-banner .ypc-cookie-title {
  margin: 0 0 7px !important;
  padding: 0 !important;
  font: 700 21px/1.24 Manrope, Inter, sans-serif !important;
  letter-spacing: -.4px;
  color: var(--ypc-navy) !important;
  text-transform: none !important;
}
#ypc-cookie-banner .ypc-cookie-description {
  margin: 0 !important;
  padding: 0 !important;
  color: #516476 !important;
  font: 400 13px/1.64 Inter, Arial, sans-serif !important;
}
#ypc-cookie-banner .ypc-cookie-description a {
  color: var(--ypc-blue) !important;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--ypc-gold);
  text-underline-offset: 3px;
}
#ypc-cookie-banner .ypc-cookie-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 15px 0 0 62px;
  flex-wrap: wrap;
}
#ypc-cookie-banner .ypc-cookie-btn {
  appearance: none;
  min-height: 41px;
  padding: 11px 18px;
  border-radius: 9px;
  font: 650 13px/1.1 Inter, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
#ypc-cookie-banner .ypc-cookie-btn:hover { transform: translateY(-1px); }
#ypc-cookie-banner .ypc-cookie-btn-outline {
  color: var(--ypc-navy);
  background: #fff;
  border: 1px solid #A9B9C9;
}
#ypc-cookie-banner .ypc-cookie-btn-outline:hover { background: #F1F5F8; border-color: var(--ypc-blue); }
#ypc-cookie-banner .ypc-cookie-btn-primary {
  color: var(--ypc-navy);
  background: var(--ypc-gold);
  border: 1px solid var(--ypc-gold);
}
#ypc-cookie-banner .ypc-cookie-btn-primary:hover { background: #D1B47E; }
#ypc-cookie-banner .ypc-cookie-manage {
  appearance: none;
  margin-left: 4px;
  padding: 9px 2px;
  border: 0;
  color: var(--ypc-blue);
  background: transparent;
  font: 650 13px/1.2 Inter, Arial, sans-serif;
  cursor: pointer;
}
#ypc-cookie-banner .ypc-cookie-manage:hover { color: var(--ypc-navy); text-decoration: underline; }
#ypc-cookie-banner .ypc-cookie-manage span { font-size: 18px; margin-left: 4px; vertical-align: -1px; }
#ypc-cookie-banner .ypc-cookie-preferences {
  margin: 17px 0 0 62px;
  border-top: 1px solid var(--ypc-line);
}
#ypc-cookie-banner .ypc-cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 1px;
  border-bottom: 1px solid var(--ypc-line);
}
#ypc-cookie-banner .ypc-cookie-option-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
#ypc-cookie-banner .ypc-cookie-option-text strong { color: var(--ypc-navy); font: 700 13px/1.35 Manrope, Inter, sans-serif; }
#ypc-cookie-banner .ypc-cookie-option-text span { color: #647587; font: 400 12px/1.5 Inter, sans-serif; }
#ypc-cookie-banner .ypc-cookie-essential-badge {
  flex: 0 0 auto;
  color: #607589;
  background: #EFF3F7;
  border-radius: 100px;
  padding: 7px 10px;
  font: 650 11px Inter, sans-serif;
}
#ypc-cookie-banner .ypc-cookie-switch { position: relative; width: 43px; height: 25px; flex: 0 0 auto; cursor: pointer; }
#ypc-cookie-banner .ypc-cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
#ypc-cookie-banner .ypc-cookie-switch-track { display: block; width: 43px; height: 25px; border-radius: 50px; background: #AAB8C7; transition: background .2s ease; }
#ypc-cookie-banner .ypc-cookie-switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0002; transition: transform .2s ease; }
#ypc-cookie-banner .ypc-cookie-switch input:checked + .ypc-cookie-switch-track { background: var(--ypc-blue); }
#ypc-cookie-banner .ypc-cookie-switch input:checked + .ypc-cookie-switch-track::after { transform: translateX(18px); }
#ypc-cookie-banner .ypc-cookie-switch input:focus-visible + .ypc-cookie-switch-track { outline: 3px solid var(--ypc-gold); outline-offset: 3px; }
#ypc-cookie-banner .ypc-cookie-settings-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 15px; }
#ypc-cookie-reopen {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 2147481000;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid #CAD5DF;
  background: #fff;
  color: #235278;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(16,44,80,.13);
  transition: transform .2s ease, box-shadow .2s ease;
}
#ypc-cookie-reopen:hover { transform: translateY(-2px); box-shadow: 0 8px 23px rgba(16,44,80,.22); }
.ypc-cookie-shortcode-button {
  appearance: none;
  color: #235278;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#ypc-cookie-banner button:focus-visible,
#ypc-cookie-reopen:focus-visible,
.ypc-cookie-shortcode-button:focus-visible { outline: 3px solid #C5A46D; outline-offset: 3px; }
@media (max-width: 740px) {
  #ypc-cookie-banner { width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); }
  #ypc-cookie-banner .ypc-cookie-shell { padding: 18px 17px; border-radius: 14px; }
  #ypc-cookie-banner .ypc-cookie-brand { width: 38px; height: 38px; border-radius: 10px; font-size: 11px; }
  #ypc-cookie-banner .ypc-cookie-intro { gap: 11px; }
  #ypc-cookie-banner .ypc-cookie-title { font-size: 18px !important; }
  #ypc-cookie-banner .ypc-cookie-description { font-size: 12px !important; line-height: 1.55 !important; }
  #ypc-cookie-banner .ypc-cookie-actions { padding-left: 0; gap: 8px; }
  #ypc-cookie-banner .ypc-cookie-btn { flex: 1 1 135px; padding: 10px 12px; }
  #ypc-cookie-banner .ypc-cookie-manage { flex: 1 1 100%; margin: 0; padding: 5px 0 0; text-align: center; }
  #ypc-cookie-banner .ypc-cookie-preferences { margin-left: 0; }
  #ypc-cookie-banner .ypc-cookie-essential-badge { font-size: 10px; }
  #ypc-cookie-banner .ypc-cookie-settings-actions .ypc-cookie-btn { flex: 1 1 130px; }
}
@media (prefers-reduced-motion: reduce) {
  #ypc-cookie-banner *, #ypc-cookie-reopen { transition: none !important; }
}
