.commod-consent-root,
.commod-consent-root * { box-sizing: border-box; }

.commod-consent-root {
  --cc-ink: #11110f;
  --cc-paper: #f5f2eb;
  --cc-gold: #e4c992;
  --cc-line: rgba(228,201,146,.34);
  position: relative;
  z-index: 2147483000;
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: only light;
}

.commod-consent-root [hidden] { display: none !important; }

.commod-consent-banner {
  position: fixed;
  z-index: 2147483000;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) minmax(260px,330px);
  gap: 22px;
  align-items: center;
  border: 1px solid var(--cc-line);
  background: rgba(14,14,12,.985);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .22s ease, transform .22s ease;
}

.commod-consent-banner.is-visible { opacity: 1; transform: none; }
.commod-consent-brand { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid var(--cc-line); color: #fff; }
.commod-consent-brand span { font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.commod-consent-brand i { width: 28px; height: 1px; display: block; margin-top: -22px; background: var(--cc-gold); }
.commod-consent-copy { min-width: 0; }
.commod-consent-eyebrow { margin: 0 0 7px !important; color: var(--cc-gold) !important; font-size: 9px !important; font-weight: 700; line-height: 1.4 !important; letter-spacing: .16em; text-transform: uppercase; }
.commod-consent-copy h2,
.commod-consent-dialog-panel h2 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
.commod-consent-copy h2 { font-size: clamp(24px,2.25vw,34px); line-height: 1.08; }
.commod-consent-copy > p:not(.commod-consent-eyebrow) { max-width: 720px; margin: 9px 0 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.65; }
.commod-consent-legal { margin-top: 9px; display: flex; gap: 15px; }
.commod-consent-legal a,
.commod-consent-dialog-legal a { color: var(--cc-gold); font-size: 10px; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.commod-consent-actions,
.commod-consent-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.commod-consent-actions button,
.commod-consent-dialog-actions button {
  min-height: 47px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--cc-gold);
  border-radius: 0;
  background: transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font: 700 10px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .105em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  transition: background .18s ease, color .18s ease;
}
.commod-consent-actions button:hover,
.commod-consent-dialog-actions button:hover { background: var(--cc-gold); color: var(--cc-ink); -webkit-text-fill-color: var(--cc-ink); }
.commod-consent-actions button:disabled,
.commod-consent-dialog-actions button:disabled { opacity: .48; cursor: not-allowed; background: transparent; color: rgba(255,255,255,.72); -webkit-text-fill-color: rgba(255,255,255,.72); }
.commod-consent-actions .commod-consent-details { grid-column: 1 / -1; min-height: 34px; padding: 5px; border-color: transparent; color: rgba(255,255,255,.72); -webkit-text-fill-color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 3px; }
.commod-consent-actions .commod-consent-details:hover { background: transparent; color: #fff; -webkit-text-fill-color: #fff; }
.commod-consent-root button:focus-visible,
.commod-consent-root a:focus-visible,
.commod-footer-consent-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.commod-consent-dialog {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  padding: max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  display: grid;
  place-items: center;
  overflow: auto;
}
.commod-consent-dialog-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.76); opacity: 0; transition: opacity .22s ease; }
.commod-consent-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(720px,100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: clamp(26px,5vw,48px);
  border: 1px solid var(--cc-line);
  background: #151512;
  color: #fff;
  box-shadow: 0 32px 100px rgba(0,0,0,.55);
  opacity: 0;
  transform: translateY(15px) scale(.985);
  transition: opacity .22s ease, transform .22s ease;
  overscroll-behavior: contain;
}
.commod-consent-dialog.is-visible .commod-consent-dialog-backdrop,
.commod-consent-dialog.is-visible .commod-consent-dialog-panel { opacity: 1; }
.commod-consent-dialog.is-visible .commod-consent-dialog-panel { transform: none; }
.commod-consent-close { position: absolute; top: 13px; right: 13px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 0; background: transparent; color: #fff; -webkit-text-fill-color: #fff; font-size: 26px; line-height: 1; cursor: pointer; appearance: none; }
.commod-consent-dialog-panel h2 { max-width: 590px; padding-right: 30px; font-size: clamp(34px,5vw,54px); line-height: .98; }
.commod-consent-dialog-intro { max-width: 610px; margin: 18px 0 30px; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.7; }
.commod-consent-unavailable { margin: -12px 0 22px; padding: 12px 14px; border-left: 3px solid var(--cc-gold); background: rgba(255,255,255,.06); color: rgba(255,255,255,.76); font-size: 11px; line-height: 1.55; }
.commod-consent-service { min-width: 0; margin: 0; padding: 21px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; border-top: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer; }
.commod-consent-service:last-of-type { border-bottom: 1px solid rgba(255,255,255,.16); }
.commod-consent-service > div { min-width: 0; display: grid; gap: 7px; }
.commod-consent-service strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 400; line-height: 1.25; }
.commod-consent-service > div > span { color: rgba(255,255,255,.6); font-size: 11px; line-height: 1.65; }
.commod-consent-required { color: var(--cc-gold); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.commod-consent-switch { position: relative; flex: 0 0 auto; width: 54px; height: 29px; display: block; }
.commod-consent-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.commod-consent-switch i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.45); background: #272722; transition: background .18s ease, border-color .18s ease; }
.commod-consent-switch i::after { content: ""; position: absolute; width: 19px; height: 19px; left: 4px; top: 4px; background: #fff; transition: transform .18s ease; }
.commod-consent-switch input:checked + i { border-color: var(--cc-gold); background: #9a7b45; }
.commod-consent-switch input:checked + i::after { transform: translateX(25px); }
.commod-consent-switch input:focus-visible + i { outline: 3px solid #fff; outline-offset: 3px; }
.commod-consent-switch input:disabled + i { opacity: .55; cursor: not-allowed; }
.commod-consent-dialog-legal { margin: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.commod-consent-dialog-actions { max-width: 480px; }
.commod-consent-dialog-open { overflow: hidden !important; }

.commod-footer-consent-link {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.commod-footer-consent-link:hover { color: var(--gold-bright, #e4c992); }
.commod-not-found > .commod-footer-consent-link { margin-top: 20px; color: #e4c992; -webkit-text-fill-color: #e4c992; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }

@media (max-width: 900px) {
  .commod-consent-banner { grid-template-columns: 58px minmax(0,1fr); }
  .commod-consent-brand { width: 56px; height: 56px; }
  .commod-consent-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .commod-consent-banner {
    bottom: calc(88px + env(safe-area-inset-bottom));
    max-height: calc(100svh - 108px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: auto;
  }
}

@media (max-width: 560px) {
  .commod-consent-banner {
    left: max(10px,env(safe-area-inset-left));
    right: max(10px,env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    max-height: calc(100svh - 102px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: auto;
  }
  .commod-consent-brand { display: none; }
  .commod-consent-copy h2 { font-size: 25px; }
  .commod-consent-copy > p:not(.commod-consent-eyebrow) { font-size: 11px; line-height: 1.58; }
  .commod-consent-actions { grid-column: auto; }
  .commod-consent-actions button { min-height: 48px; padding: 10px 8px; font-size: 9px; }
  .commod-consent-dialog { place-items: end center; padding: max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
  .commod-consent-dialog-panel { max-height: calc(100svh - 20px); padding: 31px 19px 22px; }
  .commod-consent-dialog-panel h2 { font-size: 37px; }
  .commod-consent-service { gap: 13px; }
  .commod-consent-service strong { font-size: 18px; }
  .commod-consent-service > div > span { font-size: 10px; }
  .commod-consent-dialog-actions { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .commod-consent-actions { grid-template-columns: 1fr; }
  .commod-consent-actions .commod-consent-details { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .commod-consent-banner,
  .commod-consent-dialog-backdrop,
  .commod-consent-dialog-panel,
  .commod-consent-actions button,
  .commod-consent-dialog-actions button,
  .commod-consent-switch i,
  .commod-consent-switch i::after { transition: none !important; }
}
