/* DesignSense cookie consent: banner + settings panel. Shared by every page. All classes are prefixed cc-.
   Colours: #4517ff, #000, #121213, #252525, #f9f9f9, #e1e2e6, #6d6f7b (+ white). Font: Fractul. Buttons reuse the site's round-arrow style. */
.cc-banner, .cc-overlay { font-family: Fractul, Arial, sans-serif; font-size: 16px; line-height: 24px; color: #fff; }
.cc-banner *, .cc-overlay * { box-sizing: border-box; }

/* ---------- banner ---------- */
.cc-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 440px;
  max-width: calc(100% - 40px);
  padding: 24px;
  background: #121213;
  border: 1px solid #252525;
  border-radius: 20px;
  animation: cc-in .35s ease both;
}
.cc-banner[hidden], .cc-overlay[hidden] { display: none; }
.cc-text { margin: 0; font-size: 16px; line-height: 24px; color: #fff; }
.cc-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.cc-banner .cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-banner .cc-link { grid-column: 1 / -1; justify-self: center; }
.cc-banner .cc-btn { min-width: 0; padding-left: 20px; }

/* ---------- buttons (same size for Accept and Reject) ---------- */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 160px;
  height: 57px;
  padding: 6px 6px 6px 22px;
  background: #4517ff;
  color: #fff;
  border: 0;
  border-radius: 30px;
  font: inherit;
  font-size: 17px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.cc-btn .cc-t { position: relative; z-index: 5; transition: transform .3s cubic-bezier(.455, .03, .515, .955); }
.cc-btn i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 80px;
  background: #fff;
  transition: width .3s cubic-bezier(.455, .03, .515, .955);
}
.cc-btn i img { width: 15px; height: 15px; transition: transform .3s cubic-bezier(.455, .03, .515, .955); }
.cc-btn:hover .cc-t { transform: translateX(3px); }
.cc-btn:hover i { width: 60px; }
.cc-btn:hover i img { transform: rotate(45deg); }
.cc-banner .cc-btn { width: 100%; }   /* Accept and Reject are exactly the same size */
.cc-btn-2 { background: #252525; }
.cc-btn-2 i { background: #4517ff; }
.cc-link {
  padding: 8px 4px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cc-link:hover { color: #e1e2e6; }
.cc-btn:focus-visible, .cc-link:focus-visible, .cc-switch input:focus-visible + .cc-track {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- settings panel ---------- */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #000000cc;
  overflow-y: auto;
}
.cc-modal {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px;
  background: #121213;
  border: 1px solid #252525;
  border-radius: 20px;
  animation: cc-in .3s ease both;
}
.cc-modal:focus { outline: none; }
.cc-modal h2 { margin: 0; font-size: 28px; line-height: 38px; font-weight: 500; color: #fff; }
.cc-modal p { margin: 12px 0 0; color: #e1e2e6; font-size: 16px; line-height: 24px; }
.cc-modal p a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 20px;
  background: #000;
  border: 1px solid #252525;
  border-radius: 20px;
}
.cc-row b { display: block; font-size: 18px; line-height: 26px; font-weight: 500; color: #fff; }
.cc-row span.cc-desc { display: block; margin-top: 4px; font-size: 15px; line-height: 22px; color: #e1e2e6; }
.cc-always { flex: none; font-size: 14px; line-height: 20px; color: #e1e2e6; text-transform: uppercase; }
.cc-switch { position: relative; flex: none; display: inline-block; width: 52px; height: 30px; cursor: pointer; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-track { position: absolute; inset: 0; background: #252525; border: 1px solid #6d6f7b; border-radius: 30px; transition: background .2s ease, border-color .2s ease; }
.cc-track:after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #e1e2e6; border-radius: 50%; transition: transform .2s ease; }
.cc-switch input:checked + .cc-track { background: #4517ff; border-color: #4517ff; }
.cc-switch input:checked + .cc-track:after { background: #fff; transform: translateX(22px); }
.cc-modal .cc-actions { margin-top: 24px; }

/* the mobile "Get a Quote" bar must never sit under the banner */
html.cc-open .mbar, html.cc-open .v2-mbar { display: none !important; }
html.cc-modal-open { overflow: hidden; }

/* footer: Privacy Policy + Cookie settings sit side by side */
.cc-flinks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cc-flinks a:hover { color: #fff; }

@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cc-modal { animation-name: cc-in-modal; }
@keyframes cc-in-modal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .cc-banner { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; gap: 16px; padding: 20px 16px; }
  .cc-text { max-width: none; font-size: 15px; line-height: 22px; }
  .cc-actions, .cc-banner .cc-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .cc-banner .cc-btn, .cc-btn { width: 100%; }
  .cc-link, .cc-banner .cc-link { align-self: center; }
  .cc-modal { padding: 24px 16px; }
  .cc-modal h2 { font-size: 24px; line-height: 32px; }
  .cc-row { padding: 16px; gap: 14px; }
  .cc-modal .cc-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner, .cc-modal { animation: none; }
  .cc-btn i, .cc-btn i img, .cc-btn .cc-t, .cc-track, .cc-track:after { transition: none; }
  .cc-btn:hover i { width: 45px; }
  .cc-btn:hover i img, .cc-btn:hover .cc-t { transform: none; }
}
@media print { .cc-banner, .cc-overlay { display: none !important; } }
