.m18c18,
.m18c18__panel {
    --m18a-ink: #1a2333;
    --m18a-muted: #5c6778;
    --m18c18-navy: #1a2333;
}

.m18c18 {
    margin: 0;
    height: 0;
    min-height: 0;
}

.m18c18__head,
.m18c18__panel-head {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: .75rem .85rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(252, 253, 255, .78);
    color: var(--m18c18-navy, #1a2333);
    text-align: left;
    font: inherit;
    font-family: "Poppins", system-ui, sans-serif;
    cursor: pointer;
    box-shadow:
        0 12px 32px rgba(28, 40, 70, .12),
        0 0 0 1px rgba(170, 188, 220, .22),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px) saturate(1.45);
    -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

.m18c18__head {
    transition: transform .22s ease, box-shadow .22s ease;
}

.m18c18__head:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: none;
}

.m18c18__head:active {
    transform: scale(.96);
    box-shadow: none;
}

.m18c18__panel-head {
    border-radius: 0;
    border-width: 0 0 1px;
    border-color: rgba(140, 100, 50, .12);
    background: linear-gradient(180deg, #FFFFFF 0%, #f6eee3 100%);
    cursor: default;
    box-shadow: none;
    flex-shrink: 0;
}

.m18c18__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(18, 24, 18, .38);
}

.m18c18__backdrop[hidden],
.m18c18__panel[hidden] {
    display: none !important;
}

.m18c18__panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    width: min(420px, 100vw);
    height: 100dvh;
    background: #fbf8f3;
    border-left: 1px solid rgba(255, 255, 255, .7);
    box-shadow: -18px 0 48px rgba(20, 30, 50, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.m18c18__tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.m18c18__close {
    margin-left: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(168, 126, 72, .18);
    border-radius: 999px;
    background: #f7f1e6;
    color: #7a5530;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.m18c18__close .m18-icon {
    width: 18px;
    height: 18px;
}

.m18c18__close:hover {
    background: #efe4d2;
}

.m18c18__close:active {
    transform: scale(.96);
}

.m18c18__orb {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
}

.m18c18__orb-aura {
    position: absolute;
    inset: -22%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 48%, rgba(70, 230, 110, .95), transparent 56%),
        radial-gradient(circle at 76% 54%, rgba(255, 176, 48, .9), transparent 48%),
        radial-gradient(circle at 50% 82%, rgba(30, 160, 70, .45), transparent 50%);
    filter: blur(7px);
    opacity: .82;
    animation: m18c18-aura 5.6s ease-in-out infinite;
    pointer-events: none;
}

.m18c18__orb-sphere {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 42% 42%, #1f8a45 0%, #0c4a28 42%, #062214 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .7),
        inset 0 -10px 14px rgba(3, 6, 22, .55),
        0 8px 16px rgba(20, 90, 40, .28);
}

.m18c18__orb-field,
.m18c18__orb-glint,
.m18c18__orb-svg {
    position: absolute;
    pointer-events: none;
}

.m18c18__orb-field {
    inset: -20%;
    background:
        radial-gradient(circle at 30% 46%, rgba(90, 230, 110, .55), transparent 36%),
        radial-gradient(circle at 74% 56%, rgba(255, 170, 40, .5), transparent 32%);
    animation: m18c18-field 8s ease-in-out infinite;
}

.m18c18__orb-svg {
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.m18c18__orb-flow {
    transform-origin: 50px 50px;
    transform-box: view-box;
}

.m18c18__orb-flow--a { animation: m18c18-flow-a 6.4s ease-in-out infinite; }
.m18c18__orb-flow--b { animation: m18c18-flow-b 7.6s ease-in-out infinite; }
.m18c18__orb-flow--c { animation: m18c18-flow-c 8.3s ease-in-out infinite; }

.m18c18__orb-bloom,
.m18c18__orb-line {
    fill: none;
    stroke-linecap: round;
}

.m18c18__orb-bloom {
    stroke-width: 16;
    opacity: .8;
    filter: blur(2px);
}

.m18c18__orb-line { stroke-width: 3; }

.m18c18__orb-bloom--green { stroke: #3dff78; }
.m18c18__orb-line--green { stroke: #f3ffe8; }
.m18c18__orb-bloom--gold { stroke: #ffb020; }
.m18c18__orb-line--gold { stroke: #fff4d2; }
.m18c18__orb-bloom--lime { stroke: #b6ff4a; }
.m18c18__orb-line--lime { stroke: #fffce8; }

.m18c18__orb-glint {
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .72), rgba(255, 255, 255, .12) 14%, transparent 32%),
        linear-gradient(155deg, rgba(255, 255, 255, .2), transparent 38% 62%, rgba(255, 255, 255, .08));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.m18c18__orb-label {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(8, 16, 48, .7);
    pointer-events: none;
}

.m18c18__orb.is-hot .m18c18__orb-aura {
    opacity: 1;
}

.m18c18__orb.is-hot .m18c18__orb-line {
    stroke-width: 3.4;
}

.m18c18__orb.is-live {
    animation: m18c18-orb-pulse 1.05s ease-in-out infinite;
}

.m18c18__orb.is-live .m18c18__orb-aura {
    opacity: 1;
    filter: blur(9px);
}

.m18c18__orb.is-live .m18c18__orb-flow {
    animation-duration: 2.1s;
}

.m18c18__head:hover .m18c18__orb-aura,
.m18c18__head:focus-visible .m18c18__orb-aura {
    opacity: 1;
}

@keyframes m18c18-aura {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: .78; }
    50% { transform: scale(1.08) rotate(12deg); opacity: .95; }
}

@keyframes m18c18-field {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(18deg) scale(1.06); }
}

@keyframes m18c18-flow-a {
    0%, 100% { transform: rotate(-14deg) translateY(-2px); }
    50% { transform: rotate(12deg) translateY(5px) scale(1.05); }
}

@keyframes m18c18-flow-b {
    0%, 100% { transform: rotate(16deg) translateY(2px); }
    50% { transform: rotate(-12deg) translateY(-4px) scale(1.04); }
}

@keyframes m18c18-flow-c {
    0%, 100% { transform: rotate(-6deg) translateY(3px); }
    50% { transform: rotate(18deg) translateY(-2px); }
}

@keyframes m18c18-orb-pulse {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.07); }
    72% { transform: scale(.98); }
}

.m18c18__who {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.m18c18__who strong {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #5c3314;
}

.m18c18__ver {
    font-family: "Poppins", system-ui, sans-serif;
    font-style: normal;
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1;
    padding: .16rem .34rem;
    border-radius: 999px;
    color: #8a5a28;
    background: #f4e7d2;
    border: 1px solid rgba(176, 132, 72, .28);
}

.m18c18__who small {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #6a4524;
}

.m18c18__dot {
    width: .45rem;
    height: .45rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
}

.m18c18__log {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: .85rem .75rem .55rem;
    background:
        radial-gradient(circle at 0 0, rgba(80, 180, 90, .08), transparent 42%),
        radial-gradient(circle at 100% 0, rgba(220, 160, 60, .1), transparent 36%),
        #fbf8f3;
}

.m18c18__log::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.m18c18__cards {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: 100%;
    margin-top: .15rem;
}

.m18c18__card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .55rem;
    align-items: center;
    width: 100%;
    padding: .4rem .5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(26, 35, 51, .08);
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
}

.m18c18__card img {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3efe6;
}

.m18c18__card strong {
    display: block;
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 800;
}

.m18c18__card small {
    color: #1A7F37;
    font-size: .75rem;
    font-weight: 800;
}

.m18c18__card-meta {
    display: block;
    margin-top: .12rem;
    color: #5c6778;
    font-size: .7rem;
    font-weight: 650;
}

.m18c18__card-add {
    display: inline-flex;
    margin-top: .4rem;
    padding: .38rem .75rem;
    border: 0;
    border-radius: 999px;
    background: #1a2333;
    color: #fff;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}

.m18c18__card-add:disabled {
    background: #d9d3c8;
    color: #6b6256;
    cursor: default;
}

.m18c18__msg {
    max-width: 92%;
    display: flex;
    flex-direction: column;
    gap: .28rem;
    align-items: flex-start;
}

.m18c18__msg p {
    margin: 0;
    white-space: pre-line;
    padding: .62rem .75rem;
    border-radius: 14px 14px 14px 4px;
    background: #fff;
    color: var(--m18a-ink, #1a2333);
    font-size: .84rem;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(24, 32, 24, .05);
}

.m18c18__msg time {
    font-size: .68rem;
    color: var(--m18a-muted);
    padding-left: .15rem;
}

.m18c18__msg--user {
    align-self: flex-end;
    align-items: flex-end;
}

.m18c18__msg--user p {
    border-radius: 14px 14px 4px 14px;
    background: var(--m18c18-navy, #1a2333);
    color: #fff;
}

.m18c18__msg--user time {
    padding-right: .15rem;
    padding-left: 0;
}

.m18c18__addr {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    width: 100%;
    margin-top: .35rem;
    padding: .7rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(140, 100, 50, .16);
}

.m18c18__addr label {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: .72rem;
    font-weight: 700;
    color: #5c3314;
}

.m18c18__addr input,
.m18c18__addr select,
.m18c18__addr textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(140, 100, 50, .22);
    border-radius: 10px;
    background: #fff;
    color: #1a2333;
    font: inherit;
    font-size: 16px;
    padding: .45rem .6rem;
}

.m18c18__addr textarea {
    min-height: 4.2rem;
    resize: vertical;
}

.m18c18__addr input.is-invalid,
.m18c18__addr select.is-invalid,
.m18c18__addr textarea.is-invalid {
    border-color: #b42318;
}

.m18c18__addr-error {
    margin: 0;
    color: #b42318;
    font-size: .72rem;
    font-weight: 700;
}

.m18c18__addr-note {
    margin: 0;
    color: #6a4524;
    font-size: .7rem;
    line-height: 1.4;
    font-weight: 650;
}

.m18c18__confirm {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    background: rgba(26, 20, 14, .34);
}

.m18c18__confirm-card {
    width: min(100%, 280px);
    padding: 1rem 1rem .9rem;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(140, 100, 50, .16);
    box-shadow: 0 16px 40px rgba(40, 24, 8, .18);
}

.m18c18__confirm-card strong {
    display: block;
    color: #5c3314;
    font-size: .95rem;
}

.m18c18__confirm-card p {
    margin: .4rem 0 .85rem;
    color: #5c6778;
    font-size: .8rem;
    line-height: 1.4;
}

.m18c18__confirm-actions {
    display: flex;
    gap: .45rem;
}

.m18c18__confirm-actions button {
    flex: 1 1 0;
    min-width: 0;
    height: 2.4rem;
    border-radius: 999px;
    border: 0;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.m18c18__confirm-no {
    background: #f7f1e6;
    color: #7a5530;
}

.m18c18__confirm-yes {
    background: #1a2333;
    color: #fff;
}

.m18c18__addr-submit {
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: #4a3018;
    color: #fff;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.m18c18__addr-submit:disabled {
    opacity: .65;
    cursor: default;
}

.m18c18__choices {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.m18c18__choice {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 .85rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 35, 51, .1);
    background: rgba(255, 255, 255, .86);
    color: var(--m18c18-navy, #1a2333);
    font: inherit;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    appearance: none;
}

.m18c18__choice:hover {
    background: var(--m18c18-navy, #1a2333);
    border-color: var(--m18c18-navy, #1a2333);
    color: #fff;
}

.m18c18__jump {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    margin-top: .05rem;
    padding: 0 .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(26, 35, 51, .1);
    color: var(--m18c18-navy, #1a2333);
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.m18c18__jump:hover {
    background: var(--m18c18-navy, #1a2333);
    border-color: var(--m18c18-navy, #1a2333);
    color: #fff;
}

.m18c18__dots {
    display: inline-flex;
    gap: .28rem;
    padding: .7rem .8rem;
    border-radius: 14px;
    background: #fff;
}

.m18c18__dots i {
    width: .38rem;
    height: .38rem;
    border-radius: 999px;
    background: #4c8dff;
    animation: m18c18-dot 1s infinite ease-in-out;
}

.m18c18__dots i:nth-child(2) { animation-delay: .15s; }
.m18c18__dots i:nth-child(3) { animation-delay: .3s; }

@keyframes m18c18-dot {
    0%, 80%, 100% { opacity: .35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
}

.m18c18__chips-bar {
    flex-shrink: 0;
    min-width: 0;
    background: #fbf8f3;
    border-top: 1px solid rgba(140, 100, 50, .1);
}

.m18c18__chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .45rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: .5rem .7rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent;
}

.m18c18__chips::-webkit-scrollbar {
    display: none;
    height: 0;
}

.m18c18__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid rgba(26, 35, 51, .1);
    background: rgba(255, 255, 255, .9);
    color: var(--m18c18-navy, #1a2333);
    border-radius: 999px;
    height: 2rem;
    padding: 0 .85rem;
    font: inherit;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

.m18c18__chip:hover {
    background: var(--m18c18-navy, #1a2333);
    border-color: var(--m18c18-navy, #1a2333);
    color: #fff;
}

.m18c18__form {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .7rem .7rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .82);
    border-top: 1px solid rgba(26, 35, 51, .08);
}

.m18c18__composer {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.m18c18__mic-note {
    margin: 0;
    padding: 0 .2rem;
    color: #7a5530;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.35;
}

.m18c18__mic-note[hidden] {
    display: none;
}

.m18c18__input {
    flex: 1;
    min-width: 0;
    height: 2.65rem;
    border: 1px solid rgba(26, 35, 51, .1);
    border-radius: 999px;
    padding: 0 .95rem;
    background: #fff;
    color: var(--m18a-ink, #1a2333);
    font: inherit;
    font-size: 16px;
}

.m18c18__input:focus {
    outline: 2px solid rgba(76, 141, 255, .35);
    border-color: #4c8dff;
}

.m18c18__mic {
    width: 2.65rem;
    height: 2.65rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(26, 35, 51, .14);
    border-radius: 999px;
    background: #fff;
    color: var(--m18c18-navy, #1a2333);
    cursor: pointer;
    touch-action: manipulation;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.m18c18__mic:hover {
    background: #f7f1e6;
}

.m18c18__mic:active {
    transform: scale(.96);
}

.m18c18__mic:disabled {
    opacity: .7;
    cursor: default;
}

.m18c18__mic.is-listening {
    border-color: #1f7a45;
    background: #1f7a45;
    color: #fff;
    animation: m18c18-mic 1.4s ease-out infinite;
}

@keyframes m18c18-mic {
    0% { box-shadow: 0 0 0 0 rgba(31, 122, 69, .45); }
    100% { box-shadow: 0 0 0 10px rgba(31, 122, 69, 0); }
}

.m18c18__send {
    width: 2.65rem;
    height: 2.65rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--m18c18-navy, #1a2333);
    color: #fff;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.m18c18__send:hover {
    background: #2a3548;
}

.m18c18__send:active {
    transform: scale(.96);
}

.m18c18__send:disabled,
.m18c18__input:disabled {
    opacity: .7;
    cursor: default;
}

@media (max-width: 1100px) {
    .m18c18 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .m18c18__backdrop {
        background: rgba(16, 22, 36, .42);
    }

    .m18c18__panel {
        left: 0;
        width: 100%;
        padding-top: env(safe-area-inset-top);
    }

    .m18c18__msg p {
        font-size: .9rem;
    }
}

body.m18c18-lock {
    overflow: hidden;
}

body.m18c18-lock .wa-widget,
body.m18c18-lock .call-fab {
    display: none !important;
}

.m18c18__head {
    position: fixed;
    right: max(.85rem, env(safe-area-inset-right));
    bottom: max(.85rem, env(safe-area-inset-bottom));
    z-index: 1000;
    width: 64px;
    height: 64px;
    max-width: none;
    padding: 0;
    gap: 0;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.m18c18__head .m18c18__orb {
    width: 64px;
    height: 64px;
}

.m18c18__panel-head .m18c18__orb {
    width: 54px;
    height: 54px;
}

body.m18c18-lock .m18c18__head,
body.site-header-menu-open .m18c18__head {
    display: none;
}

@media (max-width: 768px) {
    body.page-cart .m18c18__head,
    body.page-checkout .m18c18__head,
    body.page-checkout-account .m18c18__head {
        right: 0;
        bottom: calc(8.9rem + env(safe-area-inset-bottom, 0px));
        transform: translateX(30%);
    }

    body.page-checkout-account .m18c18__head {
        bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
    }

    body.page-cart .m18c18__head:hover,
    body.page-cart .m18c18__head:active,
    body.page-checkout .m18c18__head:hover,
    body.page-checkout .m18c18__head:active,
    body.page-checkout-account .m18c18__head:hover,
    body.page-checkout-account .m18c18__head:active {
        transform: translateX(30%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .m18c18__dots i,
    .m18c18__orb,
    .m18c18__orb-aura,
    .m18c18__orb-field,
    .m18c18__orb-flow { animation: none; }
    .m18c18__head,
    .m18c18__close,
    .m18c18__mic,
    .m18c18__send { transition: none; }
    .m18c18__mic.is-listening { animation: none; }
}

/* ══ Siri görünümü ══════════════════════════════════════════════
   Renkli küre, buzlu cam panel ve kenarlarda dönen renk ışığı.
   Düşünürken (is-live) ve dinlerken (is-listening) ışık hızlanır. */

@property --c18-spin {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.m18c18,
.m18c18__panel {
    --c18-siri: #FF8A3D, #FF2D87, #A855F7, #3B82F6, #22D3EE, #FF8A3D;
    --m18a-ink: #1C1F1A;
    --m18a-muted: #6B6E68;
    --m18c18-navy: #1C1F1A;
}

@keyframes m18c18-spin {
    to { --c18-spin: 360deg; }
}

@keyframes m18c18-turn {
    to { transform: rotate(360deg); }
}

/* Küre: koyu cam top, içinde yavaşça dönen yumuşak renk lekeleri */
.m18c18__orb-aura,
.m18c18__orb-svg { display: none; }

.m18c18__orb-sphere {
    isolation: isolate;
    background: radial-gradient(circle at 50% 40%, #241A45 0%, #0D0B1C 72%);
    box-shadow:
        0 8px 22px rgba(90, 50, 170, .32),
        0 2px 6px rgba(13, 11, 28, .25);
}

.m18c18__orb-field,
.m18c18__orb-sphere::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    filter: blur(6px);
    pointer-events: none;
}

.m18c18__orb-field {
    background:
        radial-gradient(circle at 30% 32%, rgba(255, 45, 135, .95) 0 18%, transparent 46%),
        radial-gradient(circle at 72% 62%, rgba(59, 130, 246, .95) 0 18%, transparent 46%);
    animation: m18c18-turn 7s linear infinite;
}

.m18c18__orb-sphere::before {
    z-index: 0;
    background:
        radial-gradient(circle at 68% 28%, rgba(255, 138, 61, .9) 0 14%, transparent 42%),
        radial-gradient(circle at 34% 72%, rgba(34, 211, 238, .85) 0 14%, transparent 42%);
    mix-blend-mode: screen;
    animation: m18c18-turn 9s linear infinite reverse;
}

/* Cam parlaması: üstte yumuşak ışık, kenarda ince çizgi */
.m18c18__orb-glint {
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 38% at 50% 14%, rgba(255, 255, 255, .45), transparent 70%),
        radial-gradient(circle at 50% 50%, transparent 62%, rgba(13, 11, 28, .35) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

.m18c18__orb-label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: 0 1px 6px rgba(13, 11, 28, .55);
}

.m18c18__orb.is-hot .m18c18__orb-sphere { box-shadow: 0 8px 26px rgba(168, 85, 247, .45), 0 2px 6px rgba(13, 11, 28, .25); }
.m18c18__orb.is-live .m18c18__orb-field,
.m18c18__orb.is-live .m18c18__orb-sphere::before { animation-duration: 1.8s; }
.m18c18__head:hover .m18c18__orb-sphere { box-shadow: 0 10px 28px rgba(168, 85, 247, .45), 0 2px 6px rgba(13, 11, 28, .25); }

/* Dış buton */
.m18c18__head { width: 60px; height: 60px; }
.m18c18__head .m18c18__orb { width: 60px; height: 60px; }
.m18c18__head:hover { transform: translateY(-2px) scale(1.06); }

/* Arka plan: hafif karartma + bulanıklık */
.m18c18__backdrop {
    background: rgba(12, 10, 24, .28);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
}

/* Panel: buzlu cam */
.m18c18__panel {
    overflow: hidden;
    border: 0;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 24px 64px rgba(30, 20, 60, .28);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    font-family: "Poppins", system-ui, sans-serif;
    animation: m18c18-rise .28s cubic-bezier(.2, .9, .3, 1.15);
}

@keyframes m18c18-rise {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: none; }
}

/* Kenar ışığı: ince renkli çizgi + içe doğru yumuşak parıltı */
.m18c18__panel::before,
.m18c18__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    border-radius: inherit;
    background: conic-gradient(from var(--c18-spin), var(--c18-siri));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
    animation: m18c18-spin 6s linear infinite;
    transition: opacity .35s ease, padding .35s ease;
}

.m18c18__panel::before {
    padding: 2px;
    opacity: .75;
}

.m18c18__panel::after {
    padding: 10px;
    filter: blur(12px);
    opacity: .32;
}

.m18c18__panel.is-hot::after { opacity: .5; }
.m18c18__panel.is-live::before,
.m18c18__panel.is-listening::before { opacity: 1; padding: 3px; }
.m18c18__panel.is-live::after,
.m18c18__panel.is-listening::after { opacity: .8; padding: 16px; }
.m18c18__panel.is-live::before,
.m18c18__panel.is-live::after,
.m18c18__panel.is-listening::before,
.m18c18__panel.is-listening::after { animation-duration: 1.8s; }

/* Başlık */
.m18c18__panel-head {
    gap: .75rem;
    padding: 1rem 1.1rem .85rem;
    background: transparent;
    border: 0;
}

.m18c18__panel-head .m18c18__orb { width: 42px; height: 42px; }

.m18c18__who strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--m18a-ink);
}

.m18c18__ver {
    padding: .18rem .45rem;
    border: 0;
    color: #6D3FD8;
    background: linear-gradient(135deg, rgba(255, 45, 135, .12), rgba(59, 130, 246, .14));
    font-weight: 600;
}

.m18c18__who small {
    font-weight: 500;
    color: var(--m18a-muted);
}

.m18c18__close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: rgba(28, 31, 26, .06);
    color: var(--m18a-ink);
    box-shadow: none;
}

.m18c18__close:hover { background: rgba(28, 31, 26, .11); }

/* Mesajlar */
.m18c18__log {
    gap: .7rem;
    padding: .5rem 1rem .75rem;
    background: transparent;
}

.m18c18__msg { max-width: 88%; }

.m18c18__msg p {
    padding: .7rem .9rem;
    border-radius: 20px 20px 20px 6px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(28, 31, 26, .06);
    box-shadow: 0 4px 14px rgba(30, 20, 60, .06);
    font-size: .88rem;
    line-height: 1.5;
}

.m18c18__msg--user p {
    border: 0;
    border-radius: 20px 20px 6px 20px;
    background: linear-gradient(135deg, #2A2342 0%, #1C1F1A 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 20, 60, .18);
}

.m18c18__msg time { font-size: .66rem; }

/* Yazıyor: Siri renklerinde noktalar */
.m18c18__dots {
    padding: .8rem .95rem;
    border-radius: 20px 20px 20px 6px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(28, 31, 26, .06);
}

.m18c18__dots i { width: .45rem; height: .45rem; background: #FF2D87; }
.m18c18__dots i:nth-child(2) { background: #A855F7; }
.m18c18__dots i:nth-child(3) { background: #3B82F6; }

/* Ürün kartları ve seçenekler */
.m18c18__card {
    border-radius: 16px;
    border-color: rgba(28, 31, 26, .07);
    box-shadow: 0 4px 14px rgba(30, 20, 60, .05);
}

.m18c18__card small { color: #2F9E44; }

.m18c18__card-add,
.m18c18__confirm-yes,
.m18c18__addr-submit {
    background: var(--m18a-ink);
    font-weight: 600;
}

.m18c18__choice,
.m18c18__jump,
.m18c18__chip {
    border: 1px solid rgba(168, 85, 247, .18);
    background: rgba(255, 255, 255, .85);
    color: var(--m18a-ink);
    font-weight: 600;
}

.m18c18__choice:hover,
.m18c18__jump:hover,
.m18c18__chip:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #FF2D87, #A855F7 55%, #3B82F6);
    color: #fff;
}

.m18c18__chips-bar {
    background: transparent;
    border: 0;
}

.m18c18__chips { padding: .35rem 1rem .5rem; }

/* Yazma alanı: cam hap, odakta renkli halka */
.m18c18__form {
    padding: .6rem 1rem calc(.9rem + env(safe-area-inset-bottom));
    background: transparent;
    border: 0;
}

.m18c18__composer {
    gap: .35rem;
    padding: .3rem .3rem .3rem .25rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(rgba(28, 31, 26, .1), rgba(28, 31, 26, .1)) border-box;
    box-shadow: 0 6px 20px rgba(30, 20, 60, .08);
    transition: box-shadow .25s ease;
}

.m18c18__composer:focus-within {
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from var(--c18-spin), var(--c18-siri)) border-box;
    box-shadow: 0 8px 26px rgba(168, 85, 247, .22);
    animation: m18c18-spin 4s linear infinite;
}

.m18c18__input {
    height: 2.5rem;
    border: 0;
    background: transparent;
    padding: 0 .75rem;
}

.m18c18__input:focus { outline: none; }

.m18c18__mic,
.m18c18__send {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
}

.m18c18__mic {
    background: rgba(28, 31, 26, .06);
    color: var(--m18a-ink);
}

.m18c18__mic:hover { background: rgba(28, 31, 26, .11); }

.m18c18__mic.is-listening {
    background: conic-gradient(from var(--c18-spin), var(--c18-siri));
    color: #fff;
    animation: m18c18-spin 1.4s linear infinite;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, .18);
}

.m18c18__send { background: var(--m18a-ink); }
.m18c18__send:hover { background: #33372F; }

.m18c18__mic-note {
    color: #6D3FD8;
    font-weight: 600;
    text-align: center;
}

.m18c18__confirm {
    background: rgba(12, 10, 24, .3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.m18c18__confirm-card {
    border-radius: 22px;
    border: 0;
    box-shadow: 0 20px 50px rgba(30, 20, 60, .25);
}

.m18c18__confirm-card strong { color: var(--m18a-ink); }
.m18c18__confirm-no { background: rgba(28, 31, 26, .06); color: var(--m18a-ink); }

.m18c18__addr { border-radius: 16px; border-color: rgba(28, 31, 26, .08); }
.m18c18__addr label { color: var(--m18a-ink); font-weight: 600; }
.m18c18__addr input,
.m18c18__addr select,
.m18c18__addr textarea { border-color: rgba(28, 31, 26, .14); }

/* Masaüstü: sağ altta yüzen kart */
@media (min-width: 769px) {
    .m18c18__panel {
        top: auto !important;
        right: 1.25rem;
        bottom: 1.25rem;
        width: 400px;
        height: min(680px, calc(100dvh - 2.5rem)) !important;
        border-radius: 28px;
    }
}

/* Mobil: tam ekran, kenar ışığı ekran çerçevesi gibi */
@media (max-width: 768px) {
    .m18c18__panel { border-radius: 0; }
    .m18c18__panel::before { padding: 3px; }

    /* Klavye açılırken pencere yeniden boyutlanır; arada kalan boşluktan sayfa görünmesin:
       panel ve arka katman opak, sayfa kaydırması JS ile kilitli */
    .m18c18__panel {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overscroll-behavior: contain;
        /* Tam ekranda yukarı kayıp küçülme kenarlarda boşluk gösteriyordu; yalnızca solarak açılır */
        animation: m18c18-fade .2s ease-out;
    }

    @keyframes m18c18-fade {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .m18c18__backdrop {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .m18c18__log {
        overscroll-behavior: contain;
    }
}

@media (prefers-reduced-motion: reduce) {
    .m18c18__panel,
    .m18c18__panel::before,
    .m18c18__panel::after,
    .m18c18__composer:focus-within,
    .m18c18__orb-field,
    .m18c18__orb-sphere::before,
    .m18c18__mic.is-listening { animation: none; }
}

/* Misafir (ürün sayfası): C18 yalnızca "C18 AI'a sor" ile açılır; yüzen düğme ve ses yok */
.m18c18--guest .m18c18__head,
body.site-header-menu-open .m18c18--guest .m18c18__head {
    display: none !important;
}

.m18c18__panel--guest .m18c18__mic {
    display: none !important;
}

/* ── Yüzen butonların "Sepete Ekle" ile çakışması (mobil) ──
   1) Ürün detaydaki sabit sepet çubuğu görününce C18 topu onun üstüne basıyordu → yukarı alınır.
   2) Mobilde sayfa aşağı kaydırılırken top gizlenir; durunca/yukarı kaydırınca geri gelir,
      böylece ürün kartlarının "Sepete Ekle" butonu parmakla rahat tıklanır. */
@media (max-width: 768px) {
    body.m18pd-sticky-on .m18c18__head {
        bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
        transition: bottom .25s ease, opacity .2s ease, transform .2s ease;
    }

    body.m18-fabs-hidden .m18c18__head {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(30px) !important;
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }
}
