/* Draft consent controls. Uses the selected theme's palette without external fonts or assets. */
.mer-consent {
  position: fixed;
  inset: auto 20px 20px auto;
  width: min(580px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin: 0;
  padding: 25px;
  color: var(--ink, #3d2436);
  background: var(--white, #fffaf5);
  border: 1px solid var(--line, #e7d5cb);
  border-radius: 22px;
  box-shadow: 0 12px 48px #3d24362b;
  font-family: var(--sans, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.6;
  z-index: 1000;
}
.mer-consent:not([open]) { display: none; }
.mer-consent::backdrop { background: #3d24365c; }
.mer-consent-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.mer-consent h2 {
  margin: 0 0 12px;
  color: var(--orange, #c94428);
  font-family: var(--display, Arial, sans-serif);
  font-size: 32px;
  line-height: 1.05;
}
.mer-consent p { margin: 0 0 13px; line-height: 1.6; }
.mer-consent .mer-consent-note { font-size: 12px; color: var(--ink-light, #66505e); }
.mer-consent-close {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin-top: -10px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink, #3d2436);
  background: transparent;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}
.mer-consent-close:hover { background: var(--cream, #fff0e6); }
.mer-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 19px; }
.mer-consent-actions button {
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid var(--ink, #3d2436);
  border-radius: 13px;
  color: var(--white, #fffaf5);
  background: var(--ink, #3d2436);
  font: 750 14px/1.4 var(--sans, Arial, sans-serif);
  cursor: pointer;
}
.mer-consent-actions button:hover { background: #5c3651; border-color: #5c3651; }
.mer-consent-privacy { display: inline-block; margin-top: 15px; text-decoration: underline; text-underline-offset: 4px; }
.mer-consent-open {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 999;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line, #e7d5cb);
  border-radius: 30px;
  color: var(--ink, #3d2436);
  background: var(--white, #fffaf5);
  box-shadow: 0 3px 14px #3d243617;
  font: 750 12px/1.3 var(--sans, Arial, sans-serif);
  cursor: pointer;
}
.mer-consent-open[hidden] { display: none; }
.mer-consent-open:hover { background: var(--cream, #fff0e6); }
.mer-consent button:focus-visible,
.mer-consent a:focus-visible,
.mer-consent-open:focus-visible { outline: 3px solid var(--orange, #c94428); outline-offset: 4px; }
.mer-consent-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 520px) {
  .mer-consent { inset: auto 12px 12px; width: auto; max-height: calc(100dvh - 24px); padding: 20px; border-radius: 18px; }
  .mer-consent h2 { font-size: 29px; }
  .mer-consent-actions { grid-template-columns: 1fr; }
  .mer-consent-open { bottom: 12px; left: 12px; }
}

.privacy-footer{display:flex;justify-content:flex-end;padding:14px 0;font-size:12px}.privacy-footer a{text-decoration:underline;text-underline-offset:3px}
