/* CarryEliteHub Commerce components – Runway visual language */
:root {
  --ceh-text: #151413; --ceh-muted: #66625c; --ceh-line: #c8c8c8; --ceh-bg: #fff; --ceh-accent: #0e0e0e;
  --ceh-soft: color-mix(in srgb, #151413 5%, #fff);
  --ceh-ease: cubic-bezier(.16,1,.3,1); --ceh-ease-spring: cubic-bezier(.34,1.56,.64,1); --ceh-ease-sheet: cubic-bezier(.32,.72,0,1);
  --ceh-pill: 30px;
}
.ceh-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ceh-muted); font-variant-numeric: tabular-nums; }
.ceh-chev { transition: transform .5s var(--ceh-ease); flex: none; }
.is-dd-open > button .ceh-chev { transform: rotate(180deg); }
.ceh-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons (shared) */
.ceh-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 24px; border: 1px solid var(--ceh-text); border-radius: 0; background: var(--ceh-text); color: #fff; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: transform .6s var(--ceh-ease), background .45s, color .45s, box-shadow .6s var(--ceh-ease); }
.ceh-btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(100deg, transparent, rgb(255 255 255/.26) 50%, transparent); transform: translateX(-140%) skewX(-18deg); pointer-events: none; }
.ceh-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -22px color-mix(in srgb, #151413 80%, transparent); color: #fff; }
.ceh-btn:hover::before { transform: translateX(260%) skewX(-18deg); transition: transform 1.1s var(--ceh-ease); }
.ceh-btn:hover svg { transform: translateX(4px); }
.ceh-btn svg { transition: transform .5s cubic-bezier(.2,1.6,.4,1); }
.ceh-btn:active { transform: scale(.985); }
.ceh-btn--ghost { background: transparent; color: var(--ceh-text); }
.ceh-btn--ghost:hover { background: var(--ceh-text); color: #fff; }
.ceh-btn--block { width: 100%; min-height: 56px; }
.ceh-btn:disabled { opacity: .5; cursor: default; transform: none; }
.ceh-btn:focus-visible { outline: 2px solid var(--ceh-text); outline-offset: 3px; }

/* Currency switcher */
.ceh-cur { position: relative; display: inline-block; --ceh-cur-ring: color-mix(in srgb, #151413 9%, transparent); }
.ceh-cur .ceh-cur__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px !important; background: transparent !important; border: 1px solid transparent !important; border-radius: 999px !important; color: inherit !important; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .08em; line-height: 1; cursor: pointer; transition: border-color .3s, background-color .3s; }
.ceh-cur .ceh-cur__btn:hover, .ceh-cur.is-open .ceh-cur__btn { border-color: color-mix(in srgb, currentColor 28%, transparent) !important; background: color-mix(in srgb, currentColor 6%, transparent) !important; }
.ceh-cur .ceh-cur__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ceh-cur__bflag, .ceh-cur__flag { display: block; flex: none; width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--ceh-cur-ring); background: #eee; }
.ceh-cur.is-open .ceh-chev { transform: rotate(180deg); }
.ceh-cur.is-busy { opacity: .6; pointer-events: none; }
.ceh-cur__scrim { display: none; }
.ceh-cur__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 1000; display: flex; flex-direction: column; width: 360px; max-width: calc(100vw - 32px); background: #fff; color: var(--ceh-text); border: 1px solid color-mix(in srgb, #151413 10%, transparent); border-radius: 18px; box-shadow: 0 40px 80px -36px rgb(20 18 16/.42), 0 2px 8px -4px rgb(20 18 16/.08); text-align: left; letter-spacing: normal; text-transform: none; animation: ceh-drop .45s var(--ceh-ease); }
.ceh-cur__panel[hidden] { display: none; }
.ceh-cur.is-left .ceh-cur__panel, .ceh-cur--drawer .ceh-cur__panel { right: auto; left: 0; }
.ceh-cur.is-up .ceh-cur__panel { top: auto; bottom: calc(100% + 10px); }
.ceh-cur__grab { display: none; }
.ceh-cur__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 12px 20px; }
.ceh-cur__title { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.ceh-cur__now { margin: 3px 0 0; font-size: 12px; color: var(--ceh-muted); }
.ceh-cur__now strong { color: var(--ceh-text); font-weight: 600; letter-spacing: .04em; }
.ceh-cur .ceh-cur__close { display: grid; place-items: center; flex: none; width: 34px; height: 34px; min-height: 0; padding: 0 !important; margin: -4px -6px 0 0; background: transparent !important; border: 0 !important; border-radius: 50% !important; color: var(--ceh-text) !important; cursor: pointer; transition: background-color .25s; }
.ceh-cur .ceh-cur__close:hover { background: var(--ceh-soft) !important; }
.ceh-cur__search { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 16px 6px; padding: 0 16px; height: 44px; border: 1px solid var(--ceh-line); border-radius: 999px; color: var(--ceh-muted); transition: border-color .25s, box-shadow .25s; cursor: text; }
.ceh-cur__search:focus-within { border-color: var(--ceh-text); box-shadow: 0 0 0 3px color-mix(in srgb, #151413 8%, transparent); color: var(--ceh-text); }
.ceh-cur .ceh-cur__search input { flex: 1; min-width: 0; height: 100%; padding: 0 !important; margin: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--ceh-text); font: inherit; font-size: 14px; }
.ceh-cur__search input::-webkit-search-cancel-button { cursor: pointer; }
.ceh-cur__scroll { max-height: min(420px, 58vh); overflow-y: auto; padding: 2px 10px 10px; overscroll-behavior: contain; scrollbar-width: thin; }
.ceh-cur__group { margin: 0; padding: 14px 10px 6px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ceh-muted); }
.ceh-cur__group[hidden], .ceh-cur__list[hidden], .ceh-cur__list li[hidden], .ceh-cur__empty[hidden] { display: none !important; }
.ceh-cur__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.ceh-cur__list--pop { grid-template-columns: 1fr 1fr; gap: 6px; }
.ceh-cur__list li { margin: 0; padding: 0; }
.ceh-cur__opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 16px; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; border-radius: 12px; color: var(--ceh-text) !important; text-decoration: none !important; outline: none; transition: background-color .2s; }
.ceh-cur__opt:hover { background: var(--ceh-soft); }
.ceh-cur__opt:focus-visible { box-shadow: inset 0 0 0 2px var(--ceh-text); }
.ceh-cur__txt { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ceh-cur__code { flex: none; width: 36px; font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.ceh-cur__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ceh-muted); }
.ceh-cur__sym { min-width: 28px; font-size: 12px; color: var(--ceh-muted); text-align: right; }
.ceh-cur__check { opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ceh-ease-spring); }
.ceh-cur__opt.is-on { background: color-mix(in srgb, #151413 7%, #fff); }
.ceh-cur__opt.is-on .ceh-cur__name { color: var(--ceh-text); }
.ceh-cur__opt.is-on .ceh-cur__check { opacity: 1; transform: none; }
.ceh-cur__list--pop .ceh-cur__opt { grid-template-columns: 22px minmax(0, 1fr) 14px; gap: 10px; min-height: 58px; padding: 10px 12px; border: 1px solid color-mix(in srgb, #151413 10%, transparent); }
.ceh-cur__list--pop .ceh-cur__opt:hover { border-color: color-mix(in srgb, #151413 30%, transparent); }
.ceh-cur__list--pop .ceh-cur__opt.is-on { border-color: var(--ceh-text); background: #fff; box-shadow: inset 0 0 0 1px var(--ceh-text); }
.ceh-cur__list--pop .ceh-cur__txt { flex-direction: column; align-items: flex-start; gap: 2px; }
.ceh-cur__list--pop .ceh-cur__code { width: auto; }
.ceh-cur__list--pop .ceh-cur__name { font-size: 11px; max-width: 100%; }
.ceh-cur__list--pop .ceh-cur__sym { display: none; }
.ceh-cur__empty { margin: 0; padding: 22px 12px; font-size: 13px; color: var(--ceh-muted); text-align: center; }
.ceh-cur__foot { margin: 0; padding: 12px 20px 16px; border-top: 1px solid color-mix(in srgb, #151413 8%, transparent); font-size: 11px; line-height: 1.5; color: var(--ceh-muted); }
@media (max-width: 749px) {
  .ceh-cur.is-sheet .ceh-cur__scrim { display: block; position: fixed; inset: 0; z-index: 2147483000; background: rgb(12 10 8/.42); animation: ceh-fade .4s var(--ceh-ease); }
  .ceh-cur.is-sheet .ceh-cur__panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 2147483001; width: 100%; max-width: none; max-height: min(88vh, 760px); border: 0; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -24px 60px -24px rgb(0 0 0/.4); animation: ceh-sheet-up .55s var(--ceh-ease-sheet); }
  .ceh-cur.is-sheet .ceh-cur__grab { display: block; width: 38px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: color-mix(in srgb, #151413 18%, transparent); }
  .ceh-cur.is-sheet .ceh-cur__head { padding-top: 12px; }
  .ceh-cur.is-sheet .ceh-cur__scroll { flex: 1 1 auto; max-height: none; min-height: 0; }
  .ceh-cur .ceh-cur__search input { font-size: 16px; }
  .ceh-cur__opt { min-height: 52px; }
}
.ceh-cur.is-sheet .ceh-cur__panel { -webkit-tap-highlight-color: transparent; }

/* Designed dropdown */
.ceh-dd { position: relative; width: 100%; }
.ceh-dd--sort { width: auto; min-width: 230px; }
.ceh-dd__btn { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #fff; border: 1px solid var(--ceh-line); border-radius: 0; color: var(--ceh-text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .3s; }
.ceh-dd--sort .ceh-dd__btn { font-size: 13px; min-height: 44px; border-radius: var(--ceh-pill); padding: 0 18px; }
.ceh-dd__btn:hover, .is-dd-open > .ceh-dd__btn { border-color: var(--ceh-text); }
.ceh-dd__btn:focus-visible { outline: 2px solid var(--ceh-text); outline-offset: 2px; }
.ceh-dd__pre { color: var(--ceh-muted); }
.ceh-dd__val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ceh-dd__val.is-ph { color: var(--ceh-muted); }
.ceh-dd__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 130; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--ceh-text); box-shadow: 0 24px 50px -28px rgb(0 0 0/.35); animation: ceh-drop .45s var(--ceh-ease); overscroll-behavior: contain; }
.ceh-dd__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 16px; font-size: 14px; cursor: pointer; outline: none; }
.ceh-dd__list li svg { opacity: 0; flex: none; }
.ceh-dd__list li:hover, .ceh-dd__list li:focus { background: var(--ceh-soft); }
.ceh-dd__list li:focus-visible { box-shadow: inset 0 0 0 2px var(--ceh-text); }
.ceh-dd__list li[aria-selected=true] { font-weight: 500; }
.ceh-dd__list li[aria-selected=true] svg { opacity: 1; }
.ceh-dd__scrim { display: none; }
@media (max-width: 749px) {
  .ceh-dd.is-sheet .ceh-dd__scrim { display: block; position: fixed; inset: 0; z-index: 2147483000; background: rgb(12 10 8/.38); animation: ceh-fade .5s var(--ceh-ease); }
  .ceh-dd.is-sheet .ceh-dd__list { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 2147483001; max-height: min(82vh, 640px); padding: 26px 0 calc(16px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -24px 60px -24px rgb(0 0 0/.4); animation: ceh-sheet-up .65s var(--ceh-ease-sheet); }
  .ceh-dd.is-sheet .ceh-dd__list::before { content: ""; position: absolute; top: 10px; left: 50%; width: 34px; height: 4px; margin-left: -17px; border-radius: 2px; background: color-mix(in srgb, #151413 16%, transparent); }
  .ceh-dd.is-sheet .ceh-dd__list li { min-height: 52px; padding: 0 20px; font-size: 15px; }
  body.ceh-sheet-lock { overflow: hidden; }
  .ceh-dd--sort { min-width: 0; width: 100%; }
}

/* Quantity stepper */
.ceh-qty { display: inline-flex !important; align-items: stretch; border: 1px solid var(--ceh-line); height: 48px; background: #fff; border-radius: 999px; overflow: hidden; padding: 0 4px; }
.ceh-qty input.qty { width: 64px !important; height: 100% !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; text-align: center; font-size: 16px !important; font-variant-numeric: tabular-nums; background: transparent !important; color: var(--ceh-text) !important; -moz-appearance: textfield; box-shadow: none !important; }
.ceh-qty input.qty::-webkit-outer-spin-button, .ceh-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ceh-qty__b { width: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ceh-text); cursor: pointer; transition: background .3s; }
.ceh-qty__b:hover { background: var(--ceh-soft); }
.ceh-qty__b:active svg { transform: scale(.85); }
.ceh-qty:focus-within { border-color: var(--ceh-text); }

/* Tier table */
.ceh-tiers { width: 100%; margin: 4px 0 22px; border-top: 1px solid var(--ceh-line); padding-top: 18px; }
.ceh-tiers__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.ceh-tiers__note { font-size: 12px; line-height: 1.5; color: var(--ceh-muted); margin: 0; }
.ceh-tiers__table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; margin: 0; border: 0; }
.ceh-tiers__table th { text-align: left; font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ceh-muted); padding: 0 8px 8px; border: 0; background: none; }
.ceh-tiers__table td { padding: 9px 8px; border: 0; border-top: 1px solid var(--ceh-line); background: none; transition: background .3s, color .3s; }
.ceh-tiers__table th:last-child, .ceh-tiers__table td:last-child { text-align: right; }
.ceh-tiers__table th:first-child, .ceh-tiers__table td:first-child { padding-left: 10px; }
.ceh-tiers__table th:last-child, .ceh-tiers__table td:last-child { padding-right: 10px; }
.ceh-tier[data-min] { cursor: pointer; outline: none; }
.ceh-tier[data-min]:hover td { background: var(--ceh-soft); }
.ceh-tier[data-min]:focus-visible td { box-shadow: inset 0 2px 0 var(--ceh-text), inset 0 -2px 0 var(--ceh-text); }
.ceh-tier.is-active td { background: var(--ceh-text); color: #fff; }
.ceh-tier--quote td { color: var(--ceh-muted); }
.ceh-tier--quote a { color: var(--ceh-text); text-decoration: underline; text-underline-offset: 3px; }
.ceh-tiers__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.ceh-tiers__sum > div { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--ceh-line); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.ceh-tiers__sum .ceh-label { font-size: 10px; letter-spacing: .14em; }
.ceh-tiers__sum strong { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ceh-tiers__sum > .ceh-s-save-wrap { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; background: #eef6ef; border-color: #cfe3d2; color: #1f5f2c; padding: 10px 14px; }
.ceh-tiers__sum > .ceh-s-save-wrap strong { font-size: 14px; }
.ceh-tiers__sum > div[hidden] { display: none; }
/* Rounded buy box with Single / Wholesale tabs */
.ceh-tiers { background: var(--ceh-soft); border: 1px solid var(--ceh-line) !important; border-radius: 14px; padding: 18px !important; margin: 6px 0 18px !important; }
.ceh-tiers__title { font-size: 15px; font-weight: 500; color: var(--ceh-text); }
.ceh-tiers__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; border: 1px solid var(--ceh-line); border-radius: 999px; padding: 4px; margin: 0 0 4px; }
.ceh .ceh-tiers__tab { min-height: 40px; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--ceh-text) !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: .02em; text-transform: none; padding: 0 12px !important; cursor: pointer; box-shadow: none !important; transition: background .25s, color .25s !important; }
.ceh .ceh-tiers__tab:hover { background: var(--ceh-soft) !important; }
.ceh .ceh-tiers__tab.is-active { background: var(--ceh-text) !important; color: #fff !important; }
.ceh .ceh-tiers__tab:focus-visible { outline: 2px solid var(--ceh-text); outline-offset: 2px; }
.ceh-tiers__panel { margin-top: 14px; background: #fff; border: 1px solid var(--ceh-line); border-radius: 10px; overflow: hidden; padding-top: 10px; }
.ceh-tiers__panel[hidden] { display: none; }
.ceh-tiers__panel .ceh-tier.is-active td { background: var(--ceh-text); }
@media (max-width: 420px) {
  .ceh-tiers { padding: 14px !important; }
  .ceh-tiers__sum { gap: 6px; }
  .ceh-tiers__sum > div { padding: 10px; }
  .ceh-tiers__sum strong { font-size: 15px; }
}
.ceh-table-scroll { overflow-x: auto; }
.ceh-tier-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.ceh-tier-table caption { text-align: left; font-size: 12px; color: var(--ceh-muted); padding-bottom: 10px; }
.ceh-tier-table th { text-align: left; font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ceh-muted); padding: 0 12px 10px 0; border-bottom: 1px solid var(--ceh-text); }
.ceh-tier-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ceh-line); }

/* Forms */
.ceh-form { display: flex; flex-direction: column; gap: 18px; }
.ceh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ceh-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ceh-field > label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ceh-text); }
.ceh-field > label small { text-transform: none; letter-spacing: 0; color: var(--ceh-muted); font-size: 11px; }
.ceh-field input[type=text], .ceh-field input[type=email], .ceh-field input[type=tel], .ceh-field textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--ceh-line); border-radius: 0; background: #fff; color: var(--ceh-text); font: inherit; font-size: 16px; box-shadow: none; transition: border-color .3s; }
.ceh-field textarea { min-height: 140px; resize: vertical; }
.ceh-field input::placeholder, .ceh-field textarea::placeholder { color: #9a958e; }
.ceh-field input:hover, .ceh-field textarea:hover { border-color: #8f8a83; }
.ceh-field input:focus, .ceh-field textarea:focus { border-color: var(--ceh-text); outline: none; box-shadow: 0 0 0 1px var(--ceh-text); }
.ceh-field__err { display: none; margin: 0; font-size: 12px; color: #a3261b; }
.ceh-field.is-invalid .ceh-field__err { display: block; animation: ceh-rise .5s var(--ceh-ease); }
.ceh-field.is-invalid input, .ceh-field.is-invalid textarea, .ceh-field.is-invalid .ceh-dd__btn { border-color: #a3261b; }
.ceh-field--check > label, .ceh-field > label.ceh-check { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 400; }
.ceh-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.ceh-check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--ceh-text); border-radius: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }
.ceh-check input::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .35s var(--ceh-ease-spring); }
.ceh-check input:checked { background: var(--ceh-text); }
.ceh-check input:checked::after { transform: rotate(-45deg) scale(1); }
.ceh-check input:focus-visible { outline: 2px solid var(--ceh-text); outline-offset: 2px; }
.ceh-check a { text-decoration: underline; text-underline-offset: 3px; }
.ceh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ceh-form.is-sending [type=submit] { opacity: .6; }
.ceh-form-state { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--ceh-text); animation: ceh-rise .7s var(--ceh-ease); outline: none; }
.ceh-form-state strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.ceh-form-state p { margin: 0; font-size: 13px; color: var(--ceh-muted); line-height: 1.5; }
.ceh-form-state--ok { background: var(--ceh-text); color: #fff; }
.ceh-form-state--ok p { color: rgb(255 255 255/.75); }
.ceh-form-state--err { border-color: #a3261b; }
.ceh-form-state--err strong { color: #a3261b; }
.ceh-tofill { background: #fff3c4; color: #5b4500; padding: 0 4px; font-size: .92em; }
.ceh-cur-notice { margin: 0; font-size: 11px; line-height: 1.5; color: var(--ceh-muted); }
@media (max-width: 749px) { .ceh-form__row { grid-template-columns: 1fr; } }

.ceh-curnote { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2147482500; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 6px 6px 6px 18px; background: var(--ceh-text); color: #fff; font-size: 12px; box-shadow: 0 20px 40px -24px rgb(0 0 0/.5); animation: ceh-drop .6s var(--ceh-ease); }
.ceh-curnote p { margin: 0; }
.ceh-curnote a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body .ceh-curnote .ceh-x { color: #fff !important; }

/* Consent */
.ceh-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147482000; display: flex; justify-content: center; pointer-events: none; }
.ceh-consent__in { pointer-events: auto; width: min(680px, 100%); background: #fff; border: 1px solid var(--ceh-text); padding: 20px 22px; box-shadow: 0 30px 60px -30px rgb(0 0 0/.45); animation: ceh-sheet-up .8s var(--ceh-ease-sheet); }
.ceh-consent__txt { margin: 8px 0 16px; font-size: 13px; line-height: 1.55; }
.ceh-consent__txt a { text-decoration: underline; text-underline-offset: 3px; }
.ceh-consent__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ceh-consent__btns .ceh-btn { min-height: 44px; font-size: 12px; padding: 0 18px; }
.ceh-consent-dlg { width: min(520px, calc(100vw - 32px)); border: 1px solid var(--ceh-text); padding: 0; color: var(--ceh-text); }
.ceh-consent-dlg::backdrop { background: #0005; backdrop-filter: blur(4px); }
.ceh-consent-dlg__in { padding: 24px; }
.ceh-consent-dlg__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ceh-consent-dlg__head h2 { margin: 0; font-size: 22px; font-weight: 400; }
.ceh-x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: inherit; transition: transform .6s var(--ceh-ease); }
.ceh-x:hover { transform: rotate(90deg); }
.ceh-consent-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--ceh-line); }
.ceh-consent-row strong { font-size: 13px; font-weight: 500; }
.ceh-consent-row p { margin: 4px 0 0; font-size: 12px; color: var(--ceh-muted); line-height: 1.5; }
.ceh-consent-dlg .ceh-consent__btns { margin-top: 12px; }
.ceh-switch { position: relative; flex: none; width: 46px; height: 26px; }
.ceh-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ceh-switch span { position: absolute; inset: 0; border: 1px solid var(--ceh-text); border-radius: 30px; transition: background .3s; }
.ceh-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ceh-text); transition: transform .45s var(--ceh-ease-spring), background .3s; }
.ceh-switch input:checked + span { background: var(--ceh-text); }
.ceh-switch input:checked + span::after { transform: translateX(20px); background: #fff; }
.ceh-switch input:focus-visible + span { outline: 2px solid var(--ceh-text); outline-offset: 2px; }
.ceh-switch.is-locked { opacity: .5; }
@media (max-width: 749px) { .ceh-consent { left: 0; right: 0; bottom: 0; } .ceh-consent__in { border-width: 1px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); } .ceh-consent__btns .ceh-btn { flex: 1 1 30%; } }

@keyframes ceh-drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes ceh-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ceh-fade { from { opacity: 0; } }
@keyframes ceh-sheet-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .ceh-cur__panel, .ceh-cur.is-sheet .ceh-cur__panel, .ceh-cur.is-sheet .ceh-cur__scrim, .ceh-cur__check, .ceh-dd__list, .ceh-dd.is-sheet .ceh-dd__list, .ceh-dd.is-sheet .ceh-dd__scrim, .ceh-consent__in, .ceh-form-state, .ceh-field.is-invalid .ceh-field__err { animation: none !important; }
  .ceh-btn, .ceh-btn::before, .ceh-btn svg, .ceh-chev, .ceh-switch span::after, .ceh-check input::after, .ceh-x { transition: none !important; }
}
