/* Cookie Policy / Privacy Preference Center — LUX-HANDBAGS */
.lux-cc-root {
  --lux-cc-red: #8b0000;
  --lux-cc-red-hover: #6e0000;
  --lux-cc-ink: #1a1a1a;
  --lux-cc-muted: #555;
  --lux-cc-line: #e5e5e5;
  --lux-cc-bg: #fff;
  --lux-cc-overlay: rgba(0, 0, 0, 0.55);
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}
.lux-cc-root *,
.lux-cc-root *::before,
.lux-cc-root *::after {
  box-sizing: border-box;
}
.lux-cc-root[hidden] {
  display: none !important;
}

.lux-cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--lux-cc-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overscroll-behavior: contain;
}

.lux-cc-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--lux-cc-bg);
  color: var(--lux-cc-ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  padding: 28px 28px 24px;
  outline: none;
}

.lux-cc-title {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.lux-cc-body {
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--lux-cc-muted);
  text-align: left;
}
.lux-cc-body a {
  color: var(--lux-cc-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lux-cc-body a:hover {
  color: var(--lux-cc-red-hover);
}

.lux-cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: stretch;
}
.lux-cc-actions .lux-cc-btn {
  flex: 1 1 140px;
}

.lux-cc-btn {
  appearance: none;
  border: 1px solid var(--lux-cc-red);
  background: var(--lux-cc-red);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 14px;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lux-cc-btn:hover,
.lux-cc-btn:focus-visible {
  background: var(--lux-cc-red-hover);
  border-color: var(--lux-cc-red-hover);
  outline: none;
}
.lux-cc-btn--ghost {
  background: #fff;
  color: var(--lux-cc-red);
}
.lux-cc-btn--ghost:hover,
.lux-cc-btn--ghost:focus-visible {
  background: #faf0f0;
  color: var(--lux-cc-red-hover);
  border-color: var(--lux-cc-red-hover);
}
.lux-cc-btn--block {
  width: 100%;
  margin-bottom: 16px;
}

/* Preference center */
.lux-cc-pref {
  width: min(640px, 100%);
  max-height: min(92vh, 820px);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.lux-cc-pref-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid var(--lux-cc-line);
  flex-shrink: 0;
}
.lux-cc-pref-head .lux-cc-title {
  margin: 0;
  text-align: left;
  font-size: 1.25rem;
  flex: 1;
}
.lux-cc-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--lux-cc-ink);
  font-size: 1.75rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
}
.lux-cc-close:hover,
.lux-cc-close:focus-visible {
  color: var(--lux-cc-red);
  outline: none;
}
.lux-cc-pref-scroll {
  overflow: auto;
  padding: 16px 22px 8px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.lux-cc-pref-intro {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--lux-cc-muted);
  margin: 0 0 16px;
}
.lux-cc-pref-intro a {
  color: var(--lux-cc-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lux-cc-section-label {
  margin: 8px 0 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lux-cc-ink);
}

.lux-cc-acc {
  border: 1px solid var(--lux-cc-line);
  margin-bottom: 8px;
  background: #fff;
}
.lux-cc-acc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px 8px 4px;
  min-height: 52px;
}
.lux-cc-acc-expand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  min-height: 44px;
  color: inherit;
}
.lux-cc-acc-expand:focus-visible {
  outline: 2px solid var(--lux-cc-red);
  outline-offset: 2px;
}
.lux-cc-acc-chevron {
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.lux-cc-acc.is-open .lux-cc-acc-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.lux-cc-acc-name {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lux-cc-ink);
}
.lux-cc-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lux-cc-red);
  white-space: nowrap;
}
.lux-cc-acc-panel {
  display: none;
  padding: 0 14px 14px 36px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--lux-cc-muted);
}
.lux-cc-acc.is-open .lux-cc-acc-panel {
  display: block;
}

.lux-cc-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.lux-cc-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.lux-cc-switch input:disabled {
  cursor: not-allowed;
}
.lux-cc-switch-ui {
  display: block;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #ccc;
  transition: background 0.15s ease;
  pointer-events: none;
}
.lux-cc-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.lux-cc-switch input:checked + .lux-cc-switch-ui {
  background: var(--lux-cc-red);
}
.lux-cc-switch input:checked + .lux-cc-switch-ui::after {
  transform: translateX(18px);
}
.lux-cc-switch input:focus-visible + .lux-cc-switch-ui {
  outline: 2px solid var(--lux-cc-red);
  outline-offset: 2px;
}

.lux-cc-pref-foot {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--lux-cc-line);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .lux-cc-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .lux-cc-modal {
    width: 100%;
    max-height: min(92vh, 100%);
    border-radius: 16px 16px 0 0;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .lux-cc-pref {
    max-height: 94vh;
    border-radius: 16px 16px 0 0;
  }
  .lux-cc-title {
    font-size: 1.35rem;
  }
  .lux-cc-actions {
    flex-direction: column;
  }
  .lux-cc-actions .lux-cc-btn {
    flex: 1 1 auto;
    width: 100%;
  }
  .lux-cc-pref-head,
  .lux-cc-pref-scroll,
  .lux-cc-pref-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
}
