/* AMSalon Consent Banner – styl elegancki, różowy */
:root {
  --acb-accent:  #b84b72;
  --acb-accent2: #9c3a5e;
  --acb-bg:      #ffffff;
  --acb-bg2:     #faf7f8;
  --acb-text:    #2d2d2d;
  --acb-muted:   #777777;
  --acb-border:  #f0e8ec;
  --acb-shadow:  0 12px 40px rgba(184,75,114,.18);
  --acb-radius:  20px;
}

#amsalon-consent-root { all: initial; }
#amsalon-consent-root * {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.acb-hidden { display: none !important; }

/* ── BANNER ── */
.acb-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 999999;
  background: var(--acb-bg);
  color: var(--acb-text);
  border: 1px solid var(--acb-border);
  border-radius: var(--acb-radius);
  box-shadow: var(--acb-shadow);
  padding: 18px;
  max-width: 720px;
  margin: 0 auto;
}

/* Dekoracyjna kreska akcentowa na górze */
.acb-banner::before {
  content: '';
  display: block;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #f7e8ef, #b84b72, #f7e8ef);
  position: absolute;
  top: 0; left: 0; right: 0;
  border-radius: var(--acb-radius) var(--acb-radius) 0 0;
}

.acb-logo {
  font-family: 'Georgia', Georgia, serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acb-accent);
  margin-bottom: 8px;
  font-weight: normal;
}

.acb-title {
  font-family: 'Georgia', Georgia, serif;
  font-size: 17px;
  font-weight: normal;
  margin: 0 0 6px 0;
  color: var(--acb-text);
}

.acb-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--acb-muted);
}

.acb-link {
  color: var(--acb-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.acb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.acb-btn {
  appearance: none;
  border-radius: 50px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  line-height: 1;
  min-height: 44px;
  user-select: none;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s;
}
.acb-btn:hover { transform: translateY(-1px); }

.acb-btn-primary {
  background: var(--acb-accent);
  color: #fff;
  border-color: transparent;
}
.acb-btn-primary:hover { background: var(--acb-accent2); }

.acb-btn-ghost {
  background: #fff;
  color: var(--acb-text);
  border-color: var(--acb-border);
}
.acb-btn-ghost:hover { background: var(--acb-bg2); }

.acb-btn-muted {
  background: var(--acb-bg2);
  color: var(--acb-text);
  border-color: var(--acb-border);
}
.acb-btn-muted:hover { background: #f5edf1; }

/* ── FAB ── */
.acb-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999998;
  background: var(--acb-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--acb-shadow);
  min-height: 44px;
  transition: background 0.2s;
}
.acb-fab:hover { background: var(--acb-accent2); }

/* ── MODAL ── */
.acb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45,45,45,.5);
  z-index: 999999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
}

.acb-modal {
  width: 100%;
  max-width: 600px;
  background: var(--acb-bg);
  border-radius: var(--acb-radius);
  border: 1px solid var(--acb-border);
  box-shadow: var(--acb-shadow);
  padding: 20px;
  position: relative;
}

.acb-modal::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #f7e8ef, #b84b72, #f7e8ef);
  position: absolute;
  top: 0; left: 0; right: 0;
  border-radius: var(--acb-radius) var(--acb-radius) 0 0;
}

.acb-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.acb-close {
  appearance: none;
  border: 1px solid var(--acb-border);
  background: var(--acb-bg2);
  color: var(--acb-muted);
  border-radius: 50px;
  padding: 8px 14px;
  cursor: pointer;
  min-height: 40px;
  font-size: 13px;
  flex-shrink: 0;
}
.acb-close:hover { background: #f5edf1; color: var(--acb-text); }

/* ── CARDS ── */
.acb-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.acb-card {
  border: 1px solid var(--acb-border);
  border-radius: 14px;
  padding: 14px;
  background: var(--acb-bg2);
}

.acb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.acb-card-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  color: var(--acb-text);
}

.acb-card-desc {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: var(--acb-muted);
  line-height: 1.4;
}

/* ── TOGGLE ── */
.acb-switch {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #e5e7eb;
  border: 1px solid var(--acb-border);
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s;
}
.acb-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform 0.18s ease;
}
.acb-switch[aria-checked="true"] {
  background: var(--acb-accent);
  border-color: transparent;
}
.acb-switch[aria-checked="true"]::after {
  transform: translateX(18px);
}
.acb-switch[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed;
}

@media (min-width: 600px) {
  .acb-banner { padding: 22px; }
  .acb-title  { font-size: 19px; }
  .acb-modal  { align-self: center; }
  .acb-modal-backdrop { align-items: center; }
}
