.pmm-cookie-panel[hidden],
.pmm-map-consent[hidden],
iframe[data-pmm-map-src][hidden] { display: none !important; }

.pmm-cookie-panel,
.pmm-map-consent {
  --pmm-wine: #4c091c;
  --pmm-gold: #f0d9a0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}

.pmm-cookie-panel *, .pmm-map-consent * { box-sizing: border-box; }

.pmm-cookie-panel {
  position: fixed;
  z-index: 2147483646;
  inset: auto 22px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: clamp(22px, 3vw, 46px);
  width: min(1040px, calc(100% - 44px));
  max-height: 82vh;
  max-height: min(82dvh, 680px);
  margin: 0 auto;
  padding: clamp(25px, 3vw, 36px);
  overflow: auto;
  border: 1px solid rgba(240, 217, 160, .52);
  border-radius: 24px;
  background: radial-gradient(circle at 2% 0%, rgba(189, 68, 96, .34), transparent 42%),
              linear-gradient(135deg, #6f1730 0%, #4c091c 57%, #330613 100%);
  box-shadow: 0 24px 70px rgba(27, 4, 12, .4), 0 3px 14px rgba(27, 4, 12, .18);
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
  isolation: isolate;
}

.pmm-cookie-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pmm-gold), transparent);
  pointer-events: none;
}

.pmm-cookie-copy { min-width: 0; }
.pmm-cookie-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.pmm-cookie-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border: 1px solid rgba(240, 217, 160, .48);
  border-radius: 11px;
  background: rgba(240, 217, 160, .1);
  color: var(--pmm-gold);
}
.pmm-cookie-icon svg { width: 21px; height: 21px; }
.pmm-cookie-eyebrow { color: var(--pmm-gold) !important; font-size: 10px; font-weight: 800; letter-spacing: .18em; line-height: 1.3; }
.pmm-cookie-panel h2 { margin: 0 0 9px; color: #fff !important; font-size: clamp(23px, 2.9vw, 32px); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; }
.pmm-cookie-panel p { max-width: 63ch; margin: 0; color: #f7e9ec !important; font-size: 14px; line-height: 1.65; }
.pmm-cookie-policy { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--pmm-gold) !important; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pmm-cookie-policy:hover { color: #fff !important; }

.pmm-cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 10px; min-width: 0; }
.pmm-cookie-actions button,
.pmm-map-consent button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font: 700 13px/1.3 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.pmm-cookie-actions button:hover, .pmm-map-consent button:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .18); }
.pmm-cookie-actions #pmm-cookie-reject,
.pmm-cookie-actions #pmm-cookie-settings-reject { background: #fff4f1; border-color: #fff4f1; color: var(--pmm-wine); }
.pmm-cookie-actions #pmm-cookie-reject:hover,
.pmm-cookie-actions #pmm-cookie-settings-reject:hover { background: #fff; }
.pmm-cookie-actions .pmm-cookie-primary { background: var(--pmm-gold); border-color: var(--pmm-gold); color: var(--pmm-wine); }
.pmm-cookie-actions .pmm-cookie-primary:hover { background: #ffe9b7; border-color: #ffe9b7; }
.pmm-cookie-actions #pmm-cookie-customize { grid-column: 1 / -1; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .04); }
.pmm-cookie-actions button:focus-visible,
.pmm-map-consent button:focus-visible,
.pmm-cookie-reopen:focus-visible,
.pmm-cookie-close:focus-visible { outline: 3px solid #f8d775; outline-offset: 3px; }

.pmm-cookie-settings { display: block; width: min(680px, calc(100% - 44px)); }
.pmm-cookie-settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 7px; }
.pmm-cookie-settings h2 { margin-top: 6px; }
.pmm-cookie-close { width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.pmm-cookie-close:hover { background: rgba(255, 255, 255, .2); }
.pmm-cookie-choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 14px 15px; border: 1px solid rgba(240, 217, 160, .27); border-radius: 13px; background: rgba(255, 255, 255, .055); color: #fff; }
.pmm-cookie-choice b, .pmm-cookie-choice small { display: block; }
.pmm-cookie-choice b { font-size: 14px; }
.pmm-cookie-choice small { margin-top: 4px; color: #f5dfe5; font-size: 12px; line-height: 1.45; }
.pmm-cookie-active { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(240, 217, 160, .5); border-radius: 999px; color: var(--pmm-gold); font-size: 11px; font-weight: 700; }
.pmm-cookie-choice input { width: 23px; height: 23px; flex: 0 0 23px; accent-color: #e9cb88; cursor: pointer; }
.pmm-cookie-settings .pmm-cookie-actions { max-width: none; margin-top: 17px; }

.pmm-cookie-reopen { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pmm-cookie-floating { position: fixed; z-index: 2147483645; right: 16px; bottom: 16px; padding: 10px 13px; border: 1px solid #d6b876; border-radius: 11px; background: #4c091c; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); }

.pmm-map-consent { display: flex; width: 100%; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 22px; border: 1px solid rgba(240, 217, 160, .4); border-radius: inherit; background: radial-gradient(circle at 50% 0%, #8d2843, #4c091c 75%); color: #fff; text-align: center; }
.pmm-map-consent::before { content: '⌖'; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(240, 217, 160, .58); border-radius: 50%; color: var(--pmm-gold); font-size: 29px; line-height: 1; }
.pmm-map-consent p { max-width: 390px; margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }
.pmm-map-consent button { min-height: 42px; margin-top: 2px; border-color: var(--pmm-gold); background: var(--pmm-gold); color: var(--pmm-wine); }
.pmm-map-consent button:hover { background: #ffe9b7; }

@media (max-width: 900px) {
  .pmm-cookie-panel { grid-template-columns: 1fr; gap: 20px; width: min(690px, calc(100% - 32px)); padding: 26px; }
  .pmm-cookie-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pmm-cookie-actions #pmm-cookie-customize { grid-column: auto; }
  .pmm-cookie-settings { width: min(690px, calc(100% - 32px)); }
  .pmm-cookie-settings .pmm-cookie-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .pmm-cookie-panel { inset: auto 0 0; width: 100%; max-height: 86vh; max-height: min(86dvh, 680px); gap: 20px; padding: 27px 20px max(20px, env(safe-area-inset-bottom)); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 23px 23px 0 0; }
  .pmm-cookie-panel::before { right: 35%; left: 35%; height: 3px; border-radius: 4px; }
  .pmm-cookie-panel h2 { font-size: clamp(22px, 6vw, 27px); }
  .pmm-cookie-panel p { font-size: 13px; }
  .pmm-cookie-actions, .pmm-cookie-settings .pmm-cookie-actions { grid-template-columns: 1fr; }
  .pmm-cookie-actions button { width: 100%; min-height: 49px; }
  .pmm-cookie-actions #pmm-cookie-customize { grid-column: auto; }
  .pmm-cookie-choice { align-items: flex-start; }
  .pmm-cookie-active { white-space: nowrap; }
  .pmm-cookie-floating { right: 11px; bottom: max(11px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) { .pmm-cookie-actions button, .pmm-map-consent button { transition: none; } }
