/* ===== Checkout — premium redesign ===== */

/* Layout shell */
.ck {
    padding: 0 0 80px;
}

/* ── Top bar with stepper ── */
.ck__header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 242, 235, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 0;
}

.ck__header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Back link */
.ck__back-home {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    color: var(--typograph-black-secondary);
    text-decoration: none;
    transition: color 0.2s;
    flex-shrink: 0;
}
.ck__back-home .material-symbols-rounded {
    font-size: 24px;
}
.ck__back-home:hover {
    color: var(--typograph-black);
}

/* ── Stepper (pip dots) ── */
.ck__stepper {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 auto;
}

.ck__pip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: none;
    cursor: default;
    border-radius: 100px;
    transition:
        background 0.25s,
        opacity 0.25s;
    opacity: 0.45;
}
.ck__pip--clickable {
    cursor: pointer;
}
.ck__pip--clickable:hover {
    background: rgba(0, 0, 0, 0.04);
}
.ck__pip--active {
    opacity: 1;
}
.ck__pip--done {
    opacity: 0.7;
}

.ck__pip-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-cream-secondary);
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck__pip-icon .material-symbols-rounded {
    font-size: 24px;
    color: var(--typograph-black-secondary);
    transition: color 0.3s;
}
.ck__pip--active .ck__pip-icon {
    background: var(--background-accent-button);
    border-color: var(--background-accent-button);
    box-shadow: 0 2px 12px rgba(3, 119, 255, 0.3);
}
.ck__pip--active .ck__pip-icon .material-symbols-rounded {
    color: #fff;
}
.ck__pip--done .ck__pip-icon {
    background: var(--typograph-green);
    border-color: var(--typograph-green);
}
.ck__pip--done .ck__pip-icon .material-symbols-rounded {
    color: #fff;
}

.ck__pip-text {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    color: var(--typograph-black);
}

.ck__pip-bar {
    width: 64px;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 8px;
}
.ck__pip-bar-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--typograph-green);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Body ── */
.ck__body {
    padding-top: 36px;
}

/* ── Views (steps) ── */
.ck__view {
    display: none;
}
.ck__view--active {
    display: block;
    animation: ckFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ckFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Grid: main + sidebar ── */
.ck__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}
.ck__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Cards ── */
.ck__card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 28px;
}

.ck__card .mi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ck__card .mi-row .mi {
    width: 100%;
    min-width: 0;
}

.ck__card .mi-row .mi + .mi {
    margin-top: 0;
}

.ck__card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    color: var(--typograph-black);
    margin-bottom: 20px;
}
.ck__card-title .material-symbols-rounded {
    font-size: 26px;
    color: var(--background-accent-button);
}

/* ── Product card ── */
.ck__product {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: center;
}

.ck__product-img {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: linear-gradient(145deg, #eef4ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.ck__product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ck__product-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.ck__product-fallback .material-symbols-rounded {
    font-size: 44px;
    color: var(--background-accent-button);
}

.ck__product-badge {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--background-accent-button);
    background: rgba(3, 119, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.ck__product-name {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 22px;
    color: var(--typograph-black);
    margin-bottom: 4px;
    text-decoration: none;
    display: block;
    transition: color 0.15s;
}

.ck__product-name:hover {
    color: var(--typograph-blue);
}

.ck__product-sub {
    font-size: 20px;
    color: var(--typograph-black-secondary);
    line-height: 1.5;
}

.ck__product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Prices */
.ck__prices {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ck__price-now {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 28px;
    color: var(--typograph-black);
}
.ck__price-old {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ck__prices {
    flex-wrap: wrap;
}
.ck__price-was {
    font-size: 20px;
    color: var(--typograph-black-secondary);
    text-decoration: line-through;
}
.ck__price-tag {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--typograph-green);
    padding: 2px 7px;
    border-radius: 5px;
}

/* Counter */
.ck__counter {
    display: flex;
    align-items: center;
    background: var(--background-cream-secondary);
    border-radius: 14px;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
}
.ck__counter-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--typograph-black);
    transition: background 0.15s;
    border-radius: 0;
}

.ck__counter-minus {
    border-radius: 14px 0 0 14px;
}

.ck__counter-plus {
    border-radius: 0 14px 14px 0;
}
.ck__counter-btn .material-symbols-rounded {
    font-size: 24px;
}
.ck__counter-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}
.ck__counter-btn:active {
    background: rgba(0, 0, 0, 0.08);
}
.ck__counter-val {
    width: 40px;
    text-align: center;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    user-select: none;
}

/* ── Kit contents ── */
.ck__kit {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ck__kit-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--typograph-black-secondary);
    margin-bottom: 8px;
}

.ck__kit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ck__kit-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--typograph-black);
    line-height: 1.3;
}

.ck__kit-list li .material-symbols-rounded {
    font-size: 18px;
    color: var(--typograph-green);
    flex-shrink: 0;
}

.ck__kit-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--typograph-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

.ck__kit-link:hover {
    opacity: 0.7;
}

.ck__kit-link .material-symbols-rounded {
    font-size: 15px;
}

/* ── Option cards (delivery / payment) ── */
.ck__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ck__opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.ck__opt input {
    display: none;
}
.ck__opt:hover {
    border-color: rgba(3, 119, 255, 0.2);
    background: rgba(3, 119, 255, 0.02);
}

.ck__opt-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--background-cream-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}
.ck__opt-icon .material-symbols-rounded {
    font-size: 24px;
    color: var(--typograph-black-secondary);
    transition: color 0.25s;
}

.ck__opt-body {
    flex: 1;
    min-width: 0;
}
.ck__opt-body strong {
    display: block;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    color: var(--typograph-black);
}
.ck__opt-body small {
    font-size: 16px;
    color: var(--typograph-black-secondary);
}

.ck__opt-check {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(3, 119, 255, 0.06);
    border: 1px solid rgba(3, 119, 255, 0.1);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck__opt-check .material-symbols-rounded {
    font-size: 22px;
    color: var(--background-accent-button);
}

/* Active option */
.ck__opt--active {
    border-color: var(--background-accent-button);
    background: rgba(3, 119, 255, 0.04);
    box-shadow: 0 0 0 1px var(--background-accent-button);
}
.ck__opt--active .ck__opt-icon {
    background: rgba(3, 119, 255, 0.1);
}
.ck__opt--active .ck__opt-icon .material-symbols-rounded {
    color: var(--background-accent-button);
}
.ck__opt--active .ck__opt-check {
    opacity: 1;
    transform: scale(1);
    background: rgba(3, 119, 255, 0.1);
    border-color: rgba(3, 119, 255, 0.2);
}

/* Compact options for payment in step 2 */
.ck__options--compact .ck__opt {
    padding: 12px 16px;
}
.ck__options--compact .ck__opt-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

/* ── Summary sidebar ── */
.ck__aside {
    position: sticky;
    top: 100px;
}

.ck__card--summary {
    background: #fff;
}

.ck__summary-lines {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.ck__sl {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 20px;
    color: var(--typograph-black-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.ck__sl:last-child {
    border-bottom: none;
}
.ck__sl--green {
    color: var(--typograph-green);
    font-weight: 600;
}

.ck__summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1.5px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}
.ck__summary-total > span:first-child {
    font-size: 20px;
    color: var(--typograph-black-secondary);
}
.ck__summary-total > span:last-child {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 28px;
    color: var(--typograph-black);
}

/* Mini product in step 2 summary */
.ck__summary-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.ck__sm-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eef4ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ck__sm-thumb .material-symbols-rounded {
    font-size: 26px;
    color: var(--background-accent-button);
}
.ck__sm-info {
    flex: 1;
    min-width: 0;
}
.ck__sm-info strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
}
.ck__sm-info span {
    font-size: 20px;
    color: var(--typograph-black-secondary);
}
.ck__sm-price {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

/* ── CTA button ── */
.ck__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0066ee 0%, #0377ff 50%, #1a8cff 100%);
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(3, 119, 255, 0.25);
}
.ck__cta .material-symbols-rounded {
    font-size: 24px;
}
.ck__cta:hover {
    box-shadow: 0 6px 24px rgba(3, 119, 255, 0.35);
    transform: translateY(-1px);
}
.ck__cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(3, 119, 255, 0.2);
}
.ck__cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Outline variant for "back to home" */
.ck__cta--outline {
    background: transparent;
    color: var(--background-accent-button);
    border: 2px solid var(--background-accent-button);
    box-shadow: none;
}
.ck__cta--outline:hover {
    background: rgba(3, 119, 255, 0.06);
    box-shadow: none;
    transform: none;
}

/* ── Back button ── */
.ck__back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    border: none;
    background: none;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    color: var(--typograph-black-secondary);
    cursor: pointer;
    transition: color 0.2s;
}
.ck__back-btn .material-symbols-rounded {
    font-size: 24px;
}
.ck__back-btn:hover {
    color: var(--typograph-black);
}

/* ── Step 3: Done ── */
.ck__done {
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    padding: 0 20px;
}

/* Double orb — green */
.ck__done-orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    background: rgba(20, 194, 79, 0.15);
    box-shadow:
        0 0 60px rgba(20, 194, 79, 0.15),
        0 0 120px rgba(20, 194, 79, 0.08);
}

.ck__done-orb-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 194, 79, 0.2);
}

.ck__done-orb-inner .material-symbols-rounded {
    font-size: 44px;
    color: #2dd65e;
}

@keyframes ckOrbPulse {
    0%,
    100% {
        box-shadow:
            0 0 60px rgba(20, 194, 79, 0.15),
            0 0 120px rgba(20, 194, 79, 0.08);
    }
    50% {
        box-shadow:
            0 0 80px rgba(20, 194, 79, 0.22),
            0 0 140px rgba(20, 194, 79, 0.12);
    }
}

/* Keep old keyframes for compat */
@keyframes ckRing {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes ckTick {
    to {
        stroke-dashoffset: 0;
    }
}

.ck__done-title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 12px;
}

.ck__done-sub {
    font-size: 20px;
    line-height: 1.6;
    color: var(--typograph-black-secondary);
    margin-bottom: 32px;
}

.ck__done-order {
    background: var(--background-cream-secondary);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    text-align: left;
}
.ck__done-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 20px;
    color: var(--typograph-black-secondary);
}
.ck__done-row span:last-child {
    font-weight: 600;
    color: var(--typograph-black);
}
.ck__done-row + .ck__done-row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ck__done .ck__cta {
    width: auto;
    display: inline-flex;
}

/* Done screen — tracking link */
.ck__done-tracking {
    text-align: left;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.ck__done-tracking-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ck__done-tracking-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ck__done-tracking-link {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--typograph-blue);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.ck__done-tracking-copy {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ck__done-tracking-copy:hover {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.7);
}

.ck__done-tracking-copy .material-symbols-rounded {
    font-size: 20px;
}

.ck__done-tracking-copied {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #34a853;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ck__done-tracking-copied--show {
    opacity: 1;
}

.ck__done-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ck__done-actions .ck__cta {
    min-width: 240px;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .ck__grid {
        grid-template-columns: 1fr;
    }
    .ck__aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .ck__header .container {
        flex-direction: column;
        gap: 12px;
    }
    .ck__back-home {
        position: static;
        align-self: flex-start;
    }

    .ck__pip-text {
        display: none;
    }
    .ck__pip {
        padding: 6px 8px;
    }
    .ck__pip-bar {
        width: 32px;
    }

    .ck__body {
        padding-top: 24px;
    }

    .ck__card {
        padding: 20px;
        border-radius: 16px;
    }

    .ck__product {
        flex-direction: column;
        text-align: center;
    }
    .ck__product-img {
        margin: 0 auto;
    }
    .ck__product-row {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .ck__prices {
        justify-content: center;
    }

    .ck__form-row {
        grid-template-columns: 1fr;
    }

    .ck__done-title {
        font-size: 26px;
    }

    .ck__summary-total > span:last-child {
        font-size: 24px;
    }

    .ck__done-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .ck__done-row span:last-child {
        align-self: flex-start;
    }

    .ck__done-tracking {
        text-align: center;
    }
    .ck__done-tracking-label {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .ck__pip-icon {
        width: 32px;
        height: 32px;
    }
    .ck__pip-icon .material-symbols-rounded {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════
   Custom dropdown (region / city)
   ═══════════════════════════════════════════════════ */

.ck__card--address {
    overflow: visible;
    z-index: 10;
    position: relative;
}

.mi--dropdown {
    position: relative;
    z-index: 10;
}

.mi--dropdown.mi--open {
    z-index: 20;
}

.mi--dropdown > label {
    pointer-events: none;
}

.mi-dd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 16px 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #e8e4e0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    box-sizing: border-box;
    min-height: 56px;
}

.mi-dd:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.mi-dd:focus,
.mi--dropdown.mi--open .mi-dd {
    border-color: rgba(74, 144, 232, 0.5);
    box-shadow: 0 0 0 3px rgba(74, 144, 232, 0.12);
}

.mi--disabled .mi-dd {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.mi-dd__value {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mi-dd__value:empty {
    /* Reserve space so the div doesn't collapse */
    min-height: 1.5em;
}

.mi-dd__arrow {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mi--open .mi-dd__arrow {
    transform: rotate(180deg);
}

/* Float label when has value */
.mi--dropdown.mi--has-value > label,
.mi--dropdown.mi--open > label {
    top: 8px;
    transform: translateY(0);
    font-size: 11px;
    color: #8dcfff;
}

/* Dropdown list */
.mi-dd__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    margin-top: 4px;
    max-height: 260px;
    overflow-y: auto;
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mi--open .mi-dd__list {
    display: block;
}

/* Search input inside dropdown */
.mi--dropdown .mi-dd__search {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 4px;
}

.mi-dd__search::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.mi-dd__search:focus {
    border-color: rgba(74, 144, 232, 0.4);
}

/* Option items */
.mi-dd__item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-family);
    font-size: 15px;
    transition: background 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mi-dd__item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mi-dd__item--active {
    background: rgba(74, 144, 232, 0.15);
    color: #8dcfff;
}

.mi-dd__empty {
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    text-align: center;
}

/* Scrollbar */
.mi-dd__list::-webkit-scrollbar {
    width: 6px;
}

.mi-dd__list::-webkit-scrollbar-track {
    background: transparent;
}

.mi-dd__list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

.mi-dd__list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
