.ndc-keyc,
.ndc-keyc * {
    box-sizing: border-box;
}

.ndc-keyc {
    width: 100%;
    margin: 0 auto;
    font-family: Poppins, Inter, Montserrat, Manrope, Arial, sans-serif;
    color: #ffffff;
}

.ndc-keyc__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #060606 0%, #151515 52%, #050505 100%);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.ndc-keyc__viewer {
    position: relative;
    width: 100%;
    min-width: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.16), transparent 24%),
        radial-gradient(circle at 30% 18%, rgba(214,181,109,.16), transparent 20%),
        #050505;
}

.ndc-keyc__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.ndc-keyc__canvas:active {
    cursor: grabbing;
}

.ndc-keyc__canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.ndc-keyc__viewer-note {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,.80);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 12px;
    line-height: 1.2;
}

.ndc-keyc__panel {
    padding: 28px 24px;
    background: rgba(13,13,13,.96);
    border-left: 1px solid rgba(255,255,255,.09);
}

.ndc-keyc__brand {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #d6b56d;
    background: rgba(214,181,109,.10);
    border: 1px solid rgba(214,181,109,.22);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ndc-keyc__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.ndc-keyc__subtitle {
    margin: 0 0 22px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.55;
}

.ndc-keyc__label {
    display: block;
    margin: 17px 0 8px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 700;
}

.ndc-keyc__select,
.ndc-keyc__color-row,
.ndc-keyc__range-row {
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    color: #fff;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.13);
    outline: none;
}

.ndc-keyc__select {
    padding: 0 14px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,.72) 50%),
        linear-gradient(135deg, rgba(255,255,255,.72) 50%, transparent 50%);
    background-position:
        calc(100% - 19px) 21px,
        calc(100% - 13px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.ndc-keyc__select option {
    color: #111;
}

.ndc-keyc__color-row,
.ndc-keyc__range-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
}

.ndc-keyc__color {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}

.ndc-keyc__color::-webkit-color-swatch-wrapper {
    padding: 0;
}

.ndc-keyc__color::-webkit-color-swatch {
    border: 2px solid rgba(255,255,255,.42);
    border-radius: 50%;
}

.ndc-keyc__color-value,
.ndc-keyc__range-row span {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 700;
}

.ndc-keyc__swatches {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.ndc-keyc__swatches button {
    height: 34px;
    border-radius: 999px;
    background: var(--ndc-swatch);
    border: 2px solid rgba(255,255,255,.18);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.20);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
}

.ndc-keyc__swatches button:hover,
.ndc-keyc__swatches button:focus {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.56);
}

.ndc-keyc__range {
    width: 100%;
    accent-color: #d6b56d;
}

.ndc-keyc__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.ndc-keyc__button {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.ndc-keyc__button:hover,
.ndc-keyc__button:focus {
    transform: translateY(-1px);
    background: rgba(255,255,255,.14);
}

.ndc-keyc__button--primary {
    border-color: rgba(214,181,109,.48);
    background: linear-gradient(135deg, #d6b56d, #9f773a);
    color: #111;
}

.ndc-keyc__button--primary:hover,
.ndc-keyc__button--primary:focus {
    background: linear-gradient(135deg, #edcf84, #aa803f);
}

.ndc-keyc__small-note {
    margin: 16px 0 0;
    color: rgba(255,255,255,.46);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .ndc-keyc__wrap {
        grid-template-columns: 1fr;
    }

    .ndc-keyc__panel {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.09);
    }
}

@media (max-width: 560px) {
    .ndc-keyc__wrap {
        border-radius: 18px;
    }

    .ndc-keyc__viewer {
        min-height: 470px !important;
    }

    .ndc-keyc__panel {
        padding: 22px 18px;
    }

    .ndc-keyc__actions {
        grid-template-columns: 1fr;
    }
}

/* CLKey WooCommerce compact layout update v2.0.4 */
.ndc-keyc--commerce .ndc-keyc__wrap {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 12px;
    border-radius: 22px;
}
.ndc-keyc--commerce .ndc-keyc__viewer {
    min-height: 560px !important;
}
.ndc-keyc--commerce .ndc-keyc__panel {
    padding: 18px 16px;
}
.ndc-keyc--commerce .ndc-keyc__brand {
    margin-bottom: 9px;
    padding: 5px 9px;
    font-size: 10px;
}
.ndc-keyc--commerce .ndc-keyc__title {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 6px;
}
.ndc-keyc--commerce .ndc-keyc__subtitle {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
}
.ndc-keyc--commerce .ndc-keyc__label {
    margin: 11px 0 5px;
    font-size: 11px;
    line-height: 1.2;
}
.ndc-keyc--commerce .ndc-keyc__select,
.ndc-keyc--commerce .ndc-keyc__color-row,
.ndc-keyc--commerce .ndc-keyc__range-row {
    min-height: 40px;
    border-radius: 12px;
    font-size: 13px;
}
.ndc-keyc--commerce .ndc-keyc__select {
    padding: 0 12px;
    background-position: calc(100% - 18px) 17px, calc(100% - 12px) 17px;
}
.ndc-keyc--commerce .ndc-keyc__color-row,
.ndc-keyc--commerce .ndc-keyc__range-row {
    gap: 9px;
    padding: 7px 10px;
}
.ndc-keyc--commerce .ndc-keyc__color {
    width: 28px;
    height: 28px;
}
.ndc-keyc--commerce .ndc-keyc__color-value,
.ndc-keyc--commerce .ndc-keyc__range-row span {
    font-size: 12px;
}
.ndc-keyc--commerce .ndc-keyc__swatches {
    gap: 6px;
    margin-top: 8px;
}
.ndc-keyc--commerce .ndc-keyc__swatches button {
    height: 28px;
}
.ndc-keyc--commerce .ndc-keyc__actions {
    gap: 8px;
    margin-top: 14px;
}
.ndc-keyc--commerce .ndc-keyc__button {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 11px;
}
.ndc-keyc--commerce .ndc-keyc__small-note,
.ndc-keyc--commerce .clkey-price-note {
    font-size: 11px;
    line-height: 1.4;
}
.ndc-keyc--commerce .ndc-keyc__viewer-note {
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    font-size: 11px;
}
@media (max-width: 900px) {
    .ndc-keyc--commerce .ndc-keyc__wrap {
        grid-template-columns: 1fr;
    }
    .ndc-keyc--commerce .ndc-keyc__viewer {
        min-height: 520px !important;
    }
}
@media (max-width: 560px) {
    .ndc-keyc--commerce .ndc-keyc__viewer {
        min-height: 430px !important;
    }
    .ndc-keyc--commerce .ndc-keyc__panel {
        padding: 16px 14px;
    }
}

/* v2.0.4: hide public brand badge */
.ndc-keyc--commerce .ndc-keyc__brand { display: none !important; }

.ndc-keyc__viewer{position:relative;}
.ndc-keyc__model-message{position:absolute;left:18px;bottom:52px;z-index:2;max-width:calc(100% - 36px);padding:10px 12px;border-radius:12px;background:rgba(8,8,8,.74);color:#f4f4f4;font-size:12px;line-height:1.45;backdrop-filter:blur(8px);}

.ndc-keyc__checks{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:10px 0 16px}.ndc-keyc__checks label{display:flex;align-items:center;gap:8px;color:#fff;font-size:13px}.ndc-keyc__checks input{accent-color:#d4ad57;width:16px;height:16px}

.ndc-keyc__icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 16px}
.ndc-keyc__icon-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 8px;border-radius:12px;border:1px solid #3b3b3b;background:#161616;color:#fff;cursor:pointer;transition:.2s ease}
.ndc-keyc__icon-option:hover{border-color:#cfa952;transform:translateY(-1px)}
.ndc-keyc__icon-option.is-active{border-color:#d3ad59;background:#20190c;box-shadow:0 0 0 1px rgba(211,173,89,.25) inset}
.ndc-keyc__icon-thumb-wrap{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#f1f1f1;border-radius:10px;overflow:hidden}
.ndc-keyc__icon-thumb{max-width:36px;max-height:36px;width:auto;height:auto;display:block}
.ndc-keyc__icon-label{font-size:12px;line-height:1.2;text-align:center;color:#f3f3f3}
@media (max-width: 767px){.ndc-keyc__icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* v2.8.2: per-position icon picker */
.ndc-keyc__position-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 10px 0 16px;
}

.ndc-keyc__position-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ndc-keyc__position-card:hover,
.ndc-keyc__position-card:focus {
    transform: translateY(-1px);
    border-color: rgba(214,181,109,.72);
    background: rgba(214,181,109,.10);
    box-shadow: 0 0 0 1px rgba(214,181,109,.18) inset;
}

.ndc-keyc__position-meta {
    color: rgba(255,255,255,.58);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ndc-keyc__position-thumb-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 11px;
    background: #f1f1f1;
}

.ndc-keyc__position-thumb {
    max-width: 36px;
    max-height: 36px;
    width: auto;
    height: auto;
    display: block;
}

.ndc-keyc__position-label {
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.ndc-keyc__position-change {
    color: rgba(214,181,109,.86);
    font-size: 10px;
    font-weight: 700;
}

.ndc-keyc__icon-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.ndc-keyc__icon-modal.is-open {
    display: flex;
}

.ndc-keyc__icon-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.68);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ndc-keyc__icon-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: #101010;
    box-shadow: 0 26px 80px rgba(0,0,0,.45);
}

.ndc-keyc__icon-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ndc-keyc__icon-title {
    margin: 0 44px 4px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.ndc-keyc__icon-subtitle {
    margin: 0 44px 18px 0;
    color: rgba(255,255,255,.66);
    font-size: 13px;
}

.ndc-keyc__icon-grid--popup {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0;
}

.ndc-keyc__icon-grid--popup .ndc-keyc__icon-option.is-active {
    border-color: #d6b56d;
    background: rgba(214,181,109,.16);
    box-shadow: 0 0 0 2px rgba(214,181,109,.25) inset;
}

@media (max-width: 767px) {
    .ndc-keyc__position-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ndc-keyc__icon-dialog {
        padding: 18px;
        border-radius: 18px;
    }
    .ndc-keyc__icon-grid--popup {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* v2.9.1: corrected button-count controlled positions */
.ndc-keyc__button-charge {
    margin: 8px 0 14px;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.68);
    font-size: 11px;
    line-height: 1.4;
}

.ndc-keyc__button-charge.has-extra {
    color: #f3d486;
    background: rgba(214,181,109,.11);
    border-color: rgba(214,181,109,.26);
}

.ndc-keyc__position-card[hidden],
.ndc-keyc__icon-option[hidden] {
    display: none !important;
}

.ndc-keyc__position-card.is-fixed {
    cursor: default;
    opacity: .88;
}

.ndc-keyc__position-card.is-fixed:hover,
.ndc-keyc__position-card.is-fixed:focus {
    transform: none;
    border-color: rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    box-shadow: none;
}

.ndc-keyc__position-card.is-fixed .ndc-keyc__position-change {
    color: rgba(255,255,255,.42);
}

/* v2.9.5: Skin type and button count side-by-side */
.ndc-keyc__inline-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 10px;
}
.ndc-keyc__field {
    min-width: 0;
}
.ndc-keyc__field .ndc-keyc__label {
    margin-top: 0;
}
.ndc-keyc__button-charge[hidden] {
    display: none !important;
}

/* v2.9.5: Cleaner icon-only button cards */
.ndc-keyc__position-card.ndc-keyc__position-card--icon-only {
    min-height: 82px;
    padding: 12px;
    gap: 0;
    border-radius: 16px;
    background: rgba(255,255,255,.055);
}
.ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-thumb-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}
.ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-thumb {
    max-width: 42px;
    max-height: 42px;
}
.ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-meta,
.ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-label,
.ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-change {
    display: none !important;
}
@media (max-width: 520px) {
    .ndc-keyc__inline-controls {
        grid-template-columns: 1fr;
    }
}


/* v2.9.6: tighter icon cards and fixed desktop panel height */
@media (min-width: 901px) {
    .ndc-keyc--commerce .ndc-keyc__panel {
        max-height: 560px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(214,181,109,.38) rgba(255,255,255,.06);
    }
    .ndc-keyc--commerce .ndc-keyc__panel::-webkit-scrollbar {
        width: 6px;
    }
    .ndc-keyc--commerce .ndc-keyc__panel::-webkit-scrollbar-track {
        background: rgba(255,255,255,.05);
        border-radius: 999px;
    }
    .ndc-keyc--commerce .ndc-keyc__panel::-webkit-scrollbar-thumb {
        background: rgba(214,181,109,.38);
        border-radius: 999px;
    }
}
.ndc-keyc--commerce .ndc-keyc__position-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 12px;
}
.ndc-keyc--commerce .ndc-keyc__position-card.ndc-keyc__position-card--icon-only,
.ndc-keyc--commerce .ndc-keyc__position-card {
    min-height: 64px;
    padding: 7px;
    border-radius: 13px;
}
.ndc-keyc--commerce .ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-thumb-wrap,
.ndc-keyc--commerce .ndc-keyc__position-thumb-wrap {
    width: 42px;
    height: 42px;
    border-radius: 11px;
}
.ndc-keyc--commerce .ndc-keyc__position-card.ndc-keyc__position-card--icon-only .ndc-keyc__position-thumb,
.ndc-keyc--commerce .ndc-keyc__position-thumb {
    max-width: 28px;
    max-height: 28px;
}
@media (max-width: 520px) {
    .ndc-keyc--commerce .ndc-keyc__position-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* v2.9.7: color buttons no hover/active jump */
.ndc-keyc__swatches button,
.ndc-keyc__swatches button:hover,
.ndc-keyc__swatches button:focus,
.ndc-keyc__swatches button:active {
    transform: none !important;
    border-color: rgba(255,255,255,.18) !important;
    outline: none !important;
}

/* v2.9.7: optional buttons start empty until user chooses an icon */
.ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap::after {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,.72);
    font-size: 22px;
    font-weight: 800;
}
.ndc-keyc__icon-option.is-disabled,
.ndc-keyc__icon-option:disabled {
    opacity: .36 !important;
    cursor: not-allowed !important;
    filter: grayscale(1);
    transform: none !important;
    border-color: rgba(255,255,255,.10) !important;
    background: rgba(255,255,255,.045) !important;
}
.ndc-keyc__icon-option.is-disabled:hover,
.ndc-keyc__icon-option:disabled:hover {
    transform: none !important;
    border-color: rgba(255,255,255,.10) !important;
}
.ndc-keyc__inline-controls--color-first {
    align-items: end;
    margin-bottom: 12px;
}
.clkey-addons {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.clkey-addon-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.clkey-addon-option input {
    width: 16px;
    height: 16px;
    accent-color: #d6b56d;
}
.clkey-addon-color,
.clkey-addon-text {
    margin-top: 0 !important;
}

/* v2.9.8: remove color/icon hover effects and keep buttons neutral */
.ndc-keyc__swatches button,
.ndc-keyc__swatches button:hover,
.ndc-keyc__swatches button:focus,
.ndc-keyc__swatches button:active {
    transform: none !important;
    transition: none !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.20) !important;
    filter: none !important;
}

.ndc-keyc__icon-option,
.ndc-keyc__icon-option:hover,
.ndc-keyc__icon-option:focus,
.ndc-keyc__icon-option:active {
    transform: none !important;
    transition: none !important;
    border-color: #3b3b3b !important;
    background: #161616 !important;
    box-shadow: none !important;
    color: #fff !important;
}

.ndc-keyc__icon-option.is-active,
.ndc-keyc__icon-option.is-active:hover,
.ndc-keyc__icon-option.is-active:focus {
    transform: none !important;
    border-color: rgba(255,255,255,.28) !important;
    background: #161616 !important;
    box-shadow: none !important;
}

.ndc-keyc__position-card:hover,
.ndc-keyc__position-card:focus {
    transform: none !important;
    border-color: rgba(255,255,255,.14) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
    box-shadow: none !important;
}

.clkey-shipping-country {
    margin-top: 14px;
}

.ndc-keyc__position-card.is-fixed,
.ndc-keyc__position-card.is-fixed:hover,
.ndc-keyc__position-card.is-fixed:focus {
    cursor: pointer !important;
    opacity: 1 !important;
}

/* v2.9.9: fixed lock/unlock slots, Select placeholder, shipping address box */
.ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap,
.ndc-keyc--commerce .ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap {
    background: rgba(255,255,255,.055) !important;
    border: 1px dashed rgba(214,181,109,.42) !important;
    box-shadow: none !important;
}
.ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap::after,
.ndc-keyc--commerce .ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap::after {
    content: 'Select' !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    color: #d6b56d !important;
}
.ndc-keyc__position-card.is-fixed,
.ndc-keyc__position-card.is-fixed:hover,
.ndc-keyc__position-card.is-fixed:focus,
.ndc-keyc__position-card.is-fixed:disabled {
    cursor: not-allowed !important;
    opacity: .86 !important;
    transform: none !important;
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.045) !important;
    box-shadow: none !important;
}
.ndc-keyc__position-card.is-fixed .ndc-keyc__position-thumb-wrap {
    background: #f1f1f1 !important;
    border: 0 !important;
}
.clkey-shipping-address,
.clkey-ship-address-box {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(214,181,109,.32);
    background: rgba(214,181,109,.08);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.55;
}
.clkey-shipping-address strong,
.clkey-ship-address-box strong {
    display: block;
    margin-bottom: 5px;
    color: #f4d58b;
}


/* v2.9.10: fix clipped Select placeholder inside empty button cards */
.ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb,
.ndc-keyc--commerce .ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb {
    display: none !important;
    visibility: hidden !important;
}

.ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap,
.ndc-keyc--commerce .ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap {
    width: 50px !important;
    min-width: 50px !important;
    height: 42px !important;
    padding: 0 4px !important;
    overflow: visible !important;
}

.ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap::after,
.ndc-keyc--commerce .ndc-keyc__position-card.needs-icon .ndc-keyc__position-thumb-wrap::after {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-align: center !important;
    font-size: 9px !important;
    letter-spacing: 0 !important;
}

.ndc-keyc--commerce .ndc-keyc__position-card.needs-icon {
    padding-left: 4px !important;
    padding-right: 4px !important;
}


/* v2.9.11: hard override Elementor/global hover styles on color swatches */
.ndc-keyc .ndc-keyc__swatches button,
.ndc-keyc .ndc-keyc__swatches button:hover,
.ndc-keyc .ndc-keyc__swatches button:focus,
.ndc-keyc .ndc-keyc__swatches button:active,
.ndc-keyc .ndc-keyc__swatches button.is-active,
.ndc-keyc .ndc-keyc__swatches button.is-active:hover,
.elementor .ndc-keyc .ndc-keyc__swatches button,
.elementor .ndc-keyc .ndc-keyc__swatches button:hover,
.elementor .ndc-keyc .ndc-keyc__swatches button:focus,
.elementor .ndc-keyc .ndc-keyc__swatches button:active,
.elementor .ndc-keyc .ndc-keyc__swatches button.is-active,
.elementor .ndc-keyc .ndc-keyc__swatches button.is-active:hover,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button:hover,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button:focus,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button:active,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button.is-active,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button.is-active:hover {
    background: var(--ndc-swatch) !important;
    background-color: var(--ndc-swatch) !important;
    background-image: none !important;
    color: transparent !important;
    fill: transparent !important;
    stroke: transparent !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    filter: none !important;
    opacity: 1 !important;
    outline: 0 !important;
    text-shadow: none !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.20) !important;
    border: 2px solid rgba(255,255,255,.18) !important;
    transition: none !important;
}

.ndc-keyc .ndc-keyc__swatches button::before,
.ndc-keyc .ndc-keyc__swatches button::after,
.elementor .ndc-keyc .ndc-keyc__swatches button::before,
.elementor .ndc-keyc .ndc-keyc__swatches button::after,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button::before,
.elementor-widget-container .ndc-keyc .ndc-keyc__swatches button::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* v2.9.14: walk-in branch, keychain selector preview, balance UI */
.clkey-walkin-branch,
.clkey-shipping-country {
    margin-top: 12px;
}
.clkey-keychain-preview {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    text-align: center;
}
.clkey-keychain-preview img {
    display: block;
    max-width: 100%;
    max-height: 150px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
}
.clkey-addon-keychain-select {
    margin-bottom: 0 !important;
}
.clkey-balance-payment-box {
    max-width: 560px;
    margin: 24px auto;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: #111;
    color: #fff;
}
.clkey-balance-payment-box h3 {
    margin: 0 0 14px;
    color: #fff;
}
.clkey-balance-payment-box form {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}
.clkey-balance-summary {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
}
.clkey-balance-summary p {
    margin: 6px 0;
}


/* v2.9.17: disable next until required button icons are selected + keychain text spacing */
.ndc-keyc .clkey-next-step:disabled,
.ndc-keyc .clkey-next-step.is-disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
    filter: grayscale(.15) !important;
}
.clkey-keychain-text-label {
    margin-top: 12px !important;
}
.clkey-addon-keychain-text {
    margin-top: 6px !important;
}

/* v2.9.18 wallpaper selector */
.ndc-keyc .ndc-keyc__wallpaper-field {
    margin-top: 14px;
}
.ndc-keyc .ndc-keyc__wallpaper-upload {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: inherit;
}
.ndc-keyc .ndc-keyc__wallpaper-preview {
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
}
.ndc-keyc .ndc-keyc__wallpaper-preview img {
    display: block;
    width: 100%;
    max-height: 130px;
    object-fit: cover;
}

/* v2.9.26: checkout/thank-you polish, client auth, admin search */
.clkey-thankyou-box--modern {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    margin: 24px 0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
.clkey-thankyou-head span {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f6ecd1;
    color: #8a6418;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.clkey-thankyou-head h2 { margin: 12px 0 6px; font-size: 28px; }
.clkey-thankyou-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.clkey-thankyou-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    background: #f9fafb;
}
.clkey-thankyou-card small { display:block; color:#6b7280; font-weight:700; margin-bottom:6px; }
.clkey-thankyou-card strong { font-size: 20px; color:#111827; }
.clkey-thankyou-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    padding: 16px;
    background: #fbfbfb;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 18px;
}
.clkey-thankyou-details p { margin: 0; }
.clkey-client-auth {
    max-width: 960px;
    margin: 30px auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}
.clkey-client-auth-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:18px; }
.clkey-client-auth-card { border:1px solid #e5e7eb; border-radius:14px; padding:18px; display:grid; gap:10px; }
.clkey-client-auth-card h4 { margin:0 0 8px; }
.clkey-admin-search { margin: 12px 0 18px; display:flex; gap:8px; align-items:center; }
.clkey-admin-search input[type="search"] { min-width: 320px; max-width: 520px; width: 100%; }
@media (max-width: 700px) {
    .clkey-thankyou-grid, .clkey-thankyou-details, .clkey-client-auth-grid { grid-template-columns: 1fr; }
}
