/* 3D Cookie Consent v1.0.0 */
#threedcc-root {
  --cc-wine: #84283a;
  --cc-dark: #57202e;
  --cc-cream: #faf6f1;
  --cc-white: #fdfdfd;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--cc-dark);
  line-height: 1.6;
  font-size: 14px;
}

#threedcc-root *,
#threedcc-root *::before,
#threedcc-root *::after {
  box-sizing: border-box;
}

#threedcc-root [hidden] {
  display: none !important;
}

#threedcc-banner {
  position: fixed;
  z-index: 2147483000;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 1160px;
  margin: auto;
  background: var(--cc-cream);
  border: 1px solid rgba(132,40,58,.18);
  border-radius: 18px;
  box-shadow: 0 15px 55px rgba(45,20,30,.2);
  padding: 26px 30px;
}

.threedcc-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.threedcc-banner-copy {
  flex: 1;
  max-width: 650px;
}

#threedcc-root h2,
#threedcc-root h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  color: var(--cc-dark);
  margin: 0 0 12px;
}

#threedcc-root h2 {
  font-size: 27px;
  line-height: 1.2;
}

#threedcc-root p {
  margin: 0;
  font-size: 14px;
  color: var(--cc-dark);
  line-height: 1.75;
}

.threedcc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

#threedcc-root button {
  font: 600 13px/1.3 'DM Sans', Arial, sans-serif;
  cursor: pointer;
  border-radius: 8px;
  padding: 13px 19px;
  min-height: 44px;
  transition: background .2s, color .2s, border-color .2s;
}

#threedcc-root .threedcc-primary {
  background: var(--cc-wine);
  border: 1px solid var(--cc-wine);
  color: #fff;
}

#threedcc-root .threedcc-secondary {
  background: #fff;
  border: 1px solid var(--cc-wine);
  color: var(--cc-wine);
}

#threedcc-root .threedcc-neutral {
  background: transparent;
  border: 1px solid #c8aeb5;
  color: var(--cc-dark);
}

#threedcc-root button:hover {
  filter: brightness(.94);
}

#threedcc-root button:focus-visible,
#threedcc-root input:focus-visible {
  outline: 3px solid #ad7787;
  outline-offset: 3px;
}

#threedcc-manage {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 2147482990;
  background: var(--cc-wine);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  min-height: 45px;
  padding: 0;
  box-shadow: 0 3px 18px rgba(0,0,0,.18);
}

#threedcc-overlay {
  position: fixed;
  z-index: 2147483100;
  inset: 0;
  background: rgba(20,10,15,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.threedcc-dialog {
  width: 100%;
  max-width: 590px;
  max-height: min(85vh, 750px);
  overflow-y: auto;
  background: var(--cc-white);
  border-radius: 18px;
  box-shadow: 0 22px 75px rgba(0,0,0,.3);
  padding: 30px;
}

.threedcc-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
}

#threedcc-root .threedcc-close {
  padding: 4px 10px;
  min-height: 35px;
  background: transparent;
  border: 1px solid #ddd;
  color: var(--cc-dark);
  font-size: 20px;
}

.threedcc-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid #eadce0;
}

.threedcc-category strong {
  display: block;
  font-size: 15px;
  color: var(--cc-dark);
  margin-bottom: 4px;
}

#threedcc-root .threedcc-category p {
  font-size: 12px;
  line-height: 1.65;
  color: #6c6269;
}

.threedcc-category input {
  accent-color: var(--cc-wine);
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  cursor: pointer;
}

.threedcc-required {
  font-size: 12px;
  color: var(--cc-wine);
  white-space: nowrap;
  font-weight: 700;
}

.threedcc-dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.threedcc-policy-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

#threedcc-root a {
  color: var(--cc-wine);
  text-decoration: underline;
}

body.threedcc-dialog-open {
  overflow: hidden;
}

@media (max-width: 850px) {
  #threedcc-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 23px;
  }
  .threedcc-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  #threedcc-root h2 {
    font-size: 24px;
  }
  .threedcc-actions,
  .threedcc-dialog-actions {
    width: 100%;
  }
  .threedcc-actions button,
  .threedcc-dialog-actions button {
    flex: 1 1 100%;
  }
  .threedcc-dialog {
    padding: 22px;
  }
}
