/* Lucia Trecca — Complianz 7.5.6. Consent controls keep equal prominence. */
.cmplz-cookiebanner {
  font-family: "Manrope", Arial, sans-serif;
  box-sizing: border-box;
  width: min(480px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  grid-template-columns: minmax(0, 1fr);
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  transform: none !important;
  padding: 24px !important;
  border: 1px solid #cdb7a5 !important;
  border-radius: 18px !important;
  background: #f7f1e8 !important;
  color: #49352b !important;
  box-shadow: 0 14px 48px #49352b26 !important;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Complianz reserves two 100px columns even when its logo/close controls are
   hidden. A compact decorative shield gives the heading one readable line. */
.cmplz-cookiebanner > * { grid-column: 1 / -1; min-width: 0; }
.cmplz-cookiebanner .cmplz-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #ded0c0;
}
.cmplz-cookiebanner .cmplz-header::before {
  content: "";
  flex: 0 0 32px;
  height: 36px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36' fill='none' stroke='%23a77958' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2.5 28 7v10c0 7.3-4.7 12.7-12 16.5C8.7 29.7 4 24.3 4 17V7L16 2.5Z'/%3E%3Crect x='11' y='15.5' width='10' height='8' rx='1.7'/%3E%3Cpath d='M13 15.5v-3a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E");
}
.cmplz-cookiebanner .cmplz-header .cmplz-title {
  display: block !important;
  flex: 1;
  min-width: 0;
  margin: 0;
  text-align: left;
}
/* The plugin's desktop category width ignores the banner's custom padding,
   which clipped its right border. Let every row use its actual container. */
.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-categories {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
}
.cmplz-cookiebanner .cmplz-body { overflow-x: hidden; }
.cmplz-cookiebanner .cmplz-divider { margin-left: 0; margin-right: 0; }
.cmplz-cookiebanner .cmplz-divider-header { display: none; }
.cmplz-cookiebanner .cmplz-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 29px !important;
  font-weight: 500;
  line-height: 1.12;
  color: #49352b !important;
}
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-message p,
.cmplz-cookiebanner .cmplz-description {
  color: #665347 !important;
  font-size: 15px !important;
  line-height: 1.6;
}
.cmplz-cookiebanner .cmplz-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cmplz-cookiebanner .cmplz-btn {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0 !important;
  padding: 12px 15px !important;
  border-radius: 8px !important;
  font: 600 15px/1.4 "Manrope", Arial, sans-serif !important;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
  border: 1px solid #49352b !important;
  background: #49352b !important;
  color: #f7f1e8 !important;
  box-shadow: none !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
  grid-column: 1 / -1;
  border: 1px solid #9b7a63 !important;
  background: #fffaf3 !important;
  color: #49352b !important;
}
.cmplz-cookiebanner button:focus-visible,
.cmplz-cookiebanner a:focus-visible,
.cmplz-manage-consent:focus-visible,
.lt-cookie-form-notice button:focus-visible,
.lt-cookie-form-notice a:focus-visible { outline: 3px solid #a77958 !important; outline-offset: 3px; }
.cmplz-cookiebanner .cmplz-category {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #ded0c0;
  border-radius: 9px;
  background: #fffaf3;
  margin-bottom: 9px;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header {
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) auto 22px !important;
  gap: 9px;
  padding: 12px;
}
.cmplz-cookiebanner .cmplz-category-header .cmplz-category-title { min-width: 0; }
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
  color: #665347;
  font-size: 12px;
  white-space: nowrap;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-toggle {
  width: 22px;
  min-width: 22px;
  min-height: 32px;
  color: #665347;
}
.cmplz-cookiebanner .cmplz-category-title { font-size: 15px; font-weight: 600; color: #49352b; }
.cmplz-cookiebanner .cmplz-links { margin-top: 13px; }
.cmplz-cookiebanner .cmplz-links a,
.cmplz-cookiebanner a { color: #49352b !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cmplz-manage-consent {
  max-width: calc(100vw - 28px);
  padding: 9px 13px !important;
  border: 1px solid #b99a81 !important;
  border-radius: 9px 9px 0 0 !important;
  background: #f7f1e8 !important;
  color: #49352b !important;
  font: 500 13px/1.4 "Manrope", Arial, sans-serif !important;
  box-shadow: 0 -3px 15px #49352b12;
}
.lt-cookie-form-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.lt-cookie-form-fields[disabled] { opacity: .55; }
.lt-cookie-form-notice {
  margin: 0 0 25px;
  padding: 22px;
  border: 1px solid #cdb7a5;
  border-radius: 12px;
  background: #f7f1e8;
  color: #49352b;
  font: 400 16px/1.65 "Manrope", Arial, sans-serif;
}
.lt-cookie-form-notice[hidden],
.lt-cookie-form-notice [hidden] { display: none !important; }
.lt-cookie-form-notice p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; }
.lt-cookie-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-cookie-form-notice button {
  padding: 11px 15px;
  min-height: 44px;
  border: 1px solid #49352b;
  border-radius: 7px;
  background: #49352b;
  color: #f7f1e8;
  font: 600 15px/1.4 "Manrope", Arial, sans-serif;
  cursor: pointer;
}
.lt-cookie-form-notice .lt-cookie-form-alternatives { margin-top: 15px; margin-bottom: 0; font-size: 15px; }
.lt-cookie-form-notice a { color: #49352b; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .cmplz-cookiebanner { padding: 20px !important; left: 12px !important; bottom: 12px !important; width: calc(100vw - 24px) !important; max-width: calc(100vw - 24px) !important; max-height: calc(100svh - 24px); }
  .cmplz-cookiebanner .cmplz-title { font-size: 25px !important; }
  .cmplz-cookiebanner .cmplz-header { gap: 10px; }
  .cmplz-cookiebanner .cmplz-header::before { flex-basis: 28px; height: 32px; }
  .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header { padding: 10px; gap: 7px; }
  .cmplz-cookiebanner .cmplz-btn { min-height: 46px; padding: 12px 8px !important; }
  .cmplz-manage-consent { font-size: 13px !important; }
  .lt-cookie-form-notice { padding: 18px; }
  .lt-cookie-form-actions button { width: 100%; }
}
