#ap-cookie-consent,
#ap-cookie-consent *{
  box-sizing:border-box !important;
}

#ap-cookie-consent.ap-cookie{
  position:fixed !important;
  left:18px !important;
  right:18px !important;
  bottom:18px !important;
  z-index:2147483000 !important;
  display:block !important;
  font-family:Inter, Manrope, Arial, sans-serif !important;
  color:#fff8ee !important;
  pointer-events:none !important;
}

#ap-cookie-consent.ap-cookie.ap-cookie-hidden{
  display:none !important;
}

#ap-cookie-consent .ap-cookie__box{
  width:min(820px, 100%) !important;
  margin:0 auto !important;
  padding:22px 24px 22px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:24px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(201,120,58,.14), transparent 30%),
    linear-gradient(180deg, rgba(22,17,15,.97), rgba(8,9,12,.97)) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.50) !important;
  backdrop-filter:blur(16px) !important;
  pointer-events:auto !important;
}

#ap-cookie-consent .ap-cookie__title,
#ap-cookie-consent .ap-cookie__dialog h2{
  margin:0 0 8px !important;
  padding:0 !important;
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size:34px !important;
  line-height:1.05 !important;
  font-weight:500 !important;
  letter-spacing:-.02em !important;
  color:#fff7ed !important;
}

#ap-cookie-consent .ap-cookie__text,
#ap-cookie-consent .ap-cookie__dialog-text{
  margin:0 !important;
  max-width:720px !important;
  font-family:Inter, Manrope, Arial, sans-serif !important;
  font-size:14px !important;
  line-height:1.65 !important;
  font-weight:400 !important;
  color:#d7cfc6 !important;
}

#ap-cookie-consent .ap-cookie__text a{
  color:#d28a4a !important;
  text-decoration:none !important;
  border-bottom:1px solid rgba(210,138,74,.45) !important;
}

#ap-cookie-consent .ap-cookie__actions,
#ap-cookie-consent .ap-cookie__modal-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin-top:18px !important;
  align-items:center !important;
}

#ap-cookie-consent .ap-cookie__btn,
#ap-cookie-consent button.ap-cookie__btn,
#ap-cookie-consent .ap-cookie__btn:hover,
#ap-cookie-consent .ap-cookie__btn:focus,
#ap-cookie-consent .ap-cookie__btn:active{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  min-height:46px !important;
  height:auto !important;
  padding:0 22px !important;
  border-radius:999px !important;
  font-family:Inter, Manrope, Arial, sans-serif !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  cursor:pointer !important;
  box-shadow:none !important;
  outline:none !important;
  pointer-events:auto !important;
  transition:transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease !important;
}

#ap-cookie-consent .ap-cookie__btn:hover{
  transform:translateY(-1px) !important;
}

#ap-cookie-consent .ap-cookie__btn--primary,
#ap-cookie-consent button.ap-cookie__btn--primary,
#ap-cookie-consent .ap-cookie__btn--primary:hover,
#ap-cookie-consent .ap-cookie__btn--primary:focus,
#ap-cookie-consent .ap-cookie__btn--primary:active{
  border:1px solid transparent !important;
  background:linear-gradient(135deg, #d08a49, #a8602a) !important;
  color:#fff8ee !important;
  box-shadow:0 12px 28px rgba(201,120,58,.18) !important;
}

#ap-cookie-consent .ap-cookie__btn--ghost,
#ap-cookie-consent button.ap-cookie__btn--ghost,
#ap-cookie-consent .ap-cookie__btn--ghost:hover,
#ap-cookie-consent .ap-cookie__btn--ghost:focus,
#ap-cookie-consent .ap-cookie__btn--ghost:active{
  border:1px solid rgba(201,120,58,.42) !important;
  background:rgba(255,255,255,.025) !important;
  color:#fff8ee !important;
}

#ap-cookie-consent .ap-cookie__btn--ghost:hover{
  border-color:rgba(201,120,58,.65) !important;
  background:rgba(201,120,58,.10) !important;
}

#ap-cookie-consent .ap-cookie__modal{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483500 !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  background:rgba(5,5,7,.78) !important;
  backdrop-filter:blur(12px) !important;
  pointer-events:auto !important;
}

#ap-cookie-consent .ap-cookie__modal.is-open{
  display:flex !important;
}

#ap-cookie-consent .ap-cookie__dialog{
  width:min(680px, 100%) !important;
  max-height:88vh !important;
  overflow:auto !important;
  padding:28px !important;
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:26px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(201,120,58,.12), transparent 32%),
    linear-gradient(180deg, rgba(21,17,15,.98), rgba(7,8,11,.98)) !important;
  box-shadow:0 30px 100px rgba(0,0,0,.65) !important;
  pointer-events:auto !important;
}

#ap-cookie-consent .ap-cookie__row{
  display:flex !important;
  gap:16px !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:17px 0 !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  pointer-events:auto !important;
}

#ap-cookie-consent .ap-cookie__row:first-of-type{
  margin-top:18px !important;
}

#ap-cookie-consent .ap-cookie__row-copy strong{
  display:block !important;
  margin:0 0 6px !important;
  font-family:Inter, Manrope, Arial, sans-serif !important;
  font-size:15px !important;
  line-height:1.3 !important;
  color:#fff8ee !important;
}

#ap-cookie-consent .ap-cookie__row-copy span{
  display:block !important;
  max-width:470px !important;
  font-family:Inter, Manrope, Arial, sans-serif !important;
  font-size:13px !important;
  line-height:1.55 !important;
  color:#c9bfb4 !important;
}

#ap-cookie-consent .ap-cookie__switch{
  flex:0 0 auto !important;
  width:54px !important;
  height:32px !important;
  position:relative !important;
  display:block !important;
  margin:0 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
}

#ap-cookie-consent .ap-cookie__switch input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  pointer-events:auto !important;
}

#ap-cookie-consent .ap-cookie__slider{
  position:absolute !important;
  inset:0 !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.17) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  cursor:pointer !important;
  transition:.2s !important;
  pointer-events:auto !important;
}

#ap-cookie-consent .ap-cookie__slider:before{
  content:"" !important;
  position:absolute !important;
  width:24px !important;
  height:24px !important;
  left:3px !important;
  top:3px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 3px 10px rgba(0,0,0,.28) !important;
  transition:.2s !important;
}

#ap-cookie-consent .ap-cookie__switch input:checked + .ap-cookie__slider{
  background:#9f693d !important;
}

#ap-cookie-consent .ap-cookie__switch input:checked + .ap-cookie__slider:before{
  transform:translateX(22px) !important;
}

#ap-cookie-consent .ap-cookie__switch input:disabled + .ap-cookie__slider{
  opacity:.88 !important;
  cursor:not-allowed !important;
}

body.ap-cookie-settings-open{
  overflow:hidden !important;
}

@media (max-width: 767px){
  #ap-cookie-consent.ap-cookie{
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
  }

  #ap-cookie-consent .ap-cookie__box,
  #ap-cookie-consent .ap-cookie__dialog{
    padding:20px !important;
    border-radius:20px !important;
  }

  #ap-cookie-consent .ap-cookie__title,
  #ap-cookie-consent .ap-cookie__dialog h2{
    font-size:30px !important;
  }

  #ap-cookie-consent .ap-cookie__actions,
  #ap-cookie-consent .ap-cookie__modal-actions{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  #ap-cookie-consent .ap-cookie__btn,
  #ap-cookie-consent button.ap-cookie__btn{
    width:100% !important;
  }

  #ap-cookie-consent .ap-cookie__row{
    align-items:flex-start !important;
  }
}
