#woa-assistant-root {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.woa-hidden {
    display: none !important;
}

.woa-launcher {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0,0,0,0.32);
    position: relative;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.woa-launcher:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.4);
}

.woa-launcher-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    position: absolute;
    top: 10px;
    right: 12px;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

.woa-launcher-text {
    font-size: 12px;
    font-weight: 500;
}

.woa-launcher-hidden {
    display: none !important;
}

.woa-assistant-widget {
    width: 360px;
    max-height: 70vh;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.woa-header {
    padding: 12px 12px 10px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #f9fafb;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.woa-title {
    font-size: 14px;
    font-weight: 600;
}

.woa-subtitle {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.woa-header-main {
    flex: 1;
}

.woa-header-close {
    border: none;
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;
    padding: 0 4px;
    font-size: 18px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.woa-header-close:hover {
    opacity: 1;
    transform: scale(1.05);
}

.woa-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f3f4f6;
}

.woa-messages {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.woa-message {
    max-width: 85%;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.woa-msg-user {
    background: #111827;
    color: #f9fafb;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.woa-msg-assistant {
    background: #ffffff;
    color: #111827;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0,0,0,0.04);
}

.woa-products {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
}

.woa-product-card {
    position: relative;
    min-width: 150px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.woa-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.woa-product-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 4px;
}

.woa-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.woa-product-price {
    font-size: 12px;
    color: #059669;
}

.woa-product-cat {
    font-size: 11px;
    color: #6b7280;
}

.woa-product-link {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    text-indent: -9999px;
}

.woa-input-area {
    border-top: 1px solid #e5e7eb;
    padding: 8px 10px;
    display: flex;
    gap: 8px;
    background: #ffffff;
}

.woa-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    font-size: 13px;
    resize: none;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woa-input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 1px #11182711;
}

.woa-send {
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #f9fafb;
    font-size: 13px;
    font-weight: 500;
    padding: 0 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.1s ease;
}

.woa-send:hover {
    background: #000000;
    transform: translateY(-1px);
}

.woa-send:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

/* Mobil uyumlu */
@media (max-width: 600px) {
    .woa-assistant-widget {
        width: calc(100vw - 32px);
        right: 16px;
        left: 16px;
    }
}
