/**
 * KhongGianAI Affiliate Product Showcase & Quiz Styles
 * Dark & Light Mode Glassmorphism UI
 */

/* ==========================================================================
   CSS VARIABLES & GLOBAL SHOWCASE STYLES
   ========================================================================== */
.kgai-showcase-container {
    --sc-glow-cyan: #2563EB;
    --sc-glow-purple: #8b5cf6;
    --sc-text-muted: #94a3b8;
    --sc-bg-glass: rgba(15, 23, 42, 0.45);
    --sc-border-glass: rgba(255, 255, 255, 0.06);
    --sc-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    font-family: var(--kgai-font), sans-serif;
    margin: 2.5rem 0;
    width: 100%;
}

/* Light Mode Overrides */
[data-theme="light"] .kgai-showcase-container,
body.light-mode .kgai-showcase-container {
    --sc-bg-glass: rgba(255, 255, 255, 0.85);
    --sc-border-glass: rgba(0, 0, 0, 0.08);
    --sc-text-muted: #64748b;
    --sc-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   INTERACTIVE COMPARISON CARD GRID
   ========================================================================== */
.kgai-sc-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.kgai-sc-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.kgai-sc-filter-btn {
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    color: var(--kgai-text-heading);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.kgai-sc-filter-btn:hover,
.kgai-sc-filter-btn.active {
    background: var(--sc-glow-cyan);
    border-color: var(--sc-glow-cyan);
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.kgai-sc-views {
    display: flex;
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.kgai-sc-view-btn {
    background: transparent;
    border: none;
    color: var(--sc-text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.825rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.kgai-sc-view-btn svg {
    width: 14px;
    height: 14px;
}

.kgai-sc-view-btn:hover,
.kgai-sc-view-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--kgai-text-heading);
}

[data-theme="light"] .kgai-sc-view-btn:hover,
[data-theme="light"] .kgai-sc-view-btn.active {
    background: rgba(0, 0, 0, 0.04);
}

/* Chair Grid Card */
.kgai-sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.kgai-sc-card {
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sc-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}

.kgai-sc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.kgai-sc-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--sc-glow-cyan), var(--sc-glow-purple));
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.kgai-sc-img-holder {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kgai-sc-img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.kgai-sc-card:hover .kgai-sc-img {
    transform: scale(1.05);
}

.kgai-sc-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.kgai-sc-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--kgai-text-heading);
}

.kgai-sc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kgai-sc-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--kgai-cyan);
}

.kgai-sc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #eab308;
}

.kgai-sc-rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.kgai-sc-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kgai-sc-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: var(--kgai-text);
}

.kgai-sc-bullet-icon {
    color: var(--sc-glow-cyan);
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.kgai-sc-cta {
    background: linear-gradient(90deg, #f97316, #ea580c);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
    margin-top: auto;
}

.kgai-sc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
    background: linear-gradient(90deg, #ea580c, #c2410c);
}

.kgai-sc-cta svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   SCIENTIFIC SPECIFICATIONS TABLE
   ========================================================================== */
.kgai-sc-table-wrapper {
    overflow-x: auto;
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: var(--sc-shadow);
    display: none;
}

.kgai-sc-table-wrapper.active {
    display: block;
}

.kgai-sc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    text-align: left;
}

.kgai-sc-table th,
.kgai-sc-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--sc-border-glass);
}

.kgai-sc-table th {
    background: rgba(255,255,255,0.02);
    color: var(--kgai-text-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[data-theme="light"] .kgai-sc-table th {
    background: rgba(0,0,0,0.01);
}

.kgai-sc-table td {
    font-size: 0.875rem;
    color: var(--kgai-text);
    vertical-align: middle;
}

.kgai-sc-table tr:last-child td {
    border-bottom: none;
}

.kgai-sc-table tr:hover td {
    background: rgba(255,255,255,0.01);
}

[data-theme="light"] .kgai-sc-table tr:hover td {
    background: rgba(0,0,0,0.005);
}

.kgai-sc-table-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.kgai-sc-table-name {
    font-weight: 700;
    color: var(--kgai-text-heading);
    display: block;
}

.kgai-sc-table-price {
    font-weight: 800;
    color: var(--kgai-cyan);
    font-size: 1rem;
}

.kgai-sc-tag-spec {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sc-border-glass);
    border-radius: 4px;
    font-size: 0.775rem;
    color: var(--kgai-text-heading);
}

[data-theme="light"] .kgai-sc-tag-spec {
    background: rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   INTERACTIVE RECOMMENDATION QUIZ (CHAIR FINDER)
   ========================================================================== */
.kgai-quiz-container {
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--sc-shadow);
    max-width: 750px;
    margin: 2.5rem auto;
    position: relative;
    overflow: hidden;
}

.kgai-quiz-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.kgai-quiz-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 2rem;
}

.kgai-quiz-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--kgai-text-heading);
    margin: 0 0 0.5rem 0;
}

.kgai-quiz-subtitle {
    font-size: 0.875rem;
    color: var(--sc-text-muted);
    margin: 0;
}

/* Quiz Progress Bar */
.kgai-quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .kgai-quiz-progress-bar {
    background: rgba(0, 0, 0, 0.06);
}

.kgai-quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sc-glow-cyan), var(--sc-glow-purple));
    width: 0%;
    border-radius: 9999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Quiz Steps Container */
.kgai-quiz-steps {
    position: relative;
    z-index: 1;
    min-height: 280px;
}

.kgai-quiz-step {
    display: none;
    animation: quizFadeIn 0.4s ease forwards;
}

.kgai-quiz-step.active {
    display: block;
}

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

.kgai-quiz-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--kgai-text-heading);
    margin-bottom: 1.5rem;
}

/* Quiz Options */
.kgai-quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 550px) {
    .kgai-quiz-options.grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kgai-quiz-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sc-border-glass);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

[data-theme="light"] .kgai-quiz-option {
    background: rgba(0, 0, 0, 0.02);
}

.kgai-quiz-option:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(3px);
}

.kgai-quiz-option.selected {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: var(--sc-glow-cyan) !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.kgai-quiz-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--sc-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kgai-quiz-option.selected .kgai-quiz-radio {
    border-color: var(--sc-glow-cyan);
}

.kgai-quiz-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sc-glow-cyan);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.kgai-quiz-option.selected .kgai-quiz-radio::after {
    opacity: 1;
    transform: scale(1);
}

.kgai-quiz-option-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--kgai-text-heading);
}

/* Quiz Controls */
.kgai-quiz-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    border-top: 1px solid var(--sc-border-glass);
    padding-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.kgai-quiz-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kgai-quiz-btn-prev {
    background: transparent;
    border: 1px solid var(--sc-border-glass);
    color: var(--kgai-text-heading);
}

.kgai-quiz-btn-prev:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .kgai-quiz-btn-prev:hover {
    background: rgba(0, 0, 0, 0.04);
}

.kgai-quiz-btn-next {
    background: var(--sc-glow-cyan);
    border: none;
    color: #ffffff !important;
}

.kgai-quiz-btn-next:hover:not(:disabled) {
    background: #1d4ed8;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.kgai-quiz-btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Quiz Loading State */
.kgai-quiz-loader {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.kgai-quiz-loader-spinner {
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--sc-glow-cyan);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: quizSpin 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}

@keyframes quizSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.kgai-quiz-loader-text {
    font-size: 0.95rem;
    color: var(--sc-text-muted);
    font-weight: 500;
}

/* Quiz Result Container */
.kgai-quiz-result {
    display: none;
    animation: quizFadeIn 0.5s ease forwards;
}

.kgai-quiz-res-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sc-border-glass);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
}

[data-theme="light"] .kgai-quiz-res-card {
    background: rgba(0, 0, 0, 0.01);
}

.kgai-quiz-res-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    border-bottom: 1px solid var(--sc-border-glass);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.kgai-quiz-res-img-holder {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent);
    border-radius: 12px;
    flex-shrink: 0;
}

.kgai-quiz-res-img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.kgai-quiz-res-meta {
    flex-grow: 1;
}

.kgai-quiz-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    font-size: 0.775rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.kgai-quiz-res-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--kgai-text-heading);
    margin: 0 0 0.5rem 0;
}

.kgai-quiz-res-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--kgai-cyan);
}

.kgai-quiz-reason-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--kgai-text-heading);
    margin-bottom: 0.75rem;
}

.kgai-quiz-reasons {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kgai-quiz-reason-item {
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--kgai-text);
}

.kgai-quiz-reason-item svg {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.kgai-quiz-res-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.kgai-quiz-res-buy {
    flex-grow: 1;
}

.kgai-quiz-res-restart {
    background: transparent;
    border: 1px solid var(--sc-border-glass);
    color: var(--kgai-text-heading);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kgai-quiz-res-restart:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .kgai-quiz-res-restart:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   HIGH CONVERTING SIDEBAR PROMO WIDGET
   ========================================================================== */
.kgai-sc-sidebar-card {
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--sc-shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.kgai-sc-sidebar-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 60%);
    pointer-events: none;
}

.kgai-sc-sb-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--sc-glow-cyan);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 4px;
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.kgai-sc-sb-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--kgai-text-heading);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.kgai-sc-sb-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 0.65rem;
}

[data-theme="light"] .kgai-sc-sb-product {
    background: rgba(0,0,0,0.01);
    border-color: rgba(0,0,0,0.03);
}

.kgai-sc-sb-img-holder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    flex-shrink: 0;
}

[data-theme="light"] .kgai-sc-sb-img-holder {
    background: rgba(0,0,0,0.03);
}

.kgai-sc-sb-img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.kgai-sc-sb-meta {
    flex-grow: 1;
}

.kgai-sc-sb-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--kgai-text-heading);
    margin: 0 0 2px 0;
}

.kgai-sc-sb-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--kgai-cyan);
}

.kgai-sc-sb-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.kgai-sc-sb-bullet {
    font-size: 0.775rem;
    color: var(--sc-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.kgai-sc-sb-bullet svg {
    color: var(--sc-glow-cyan);
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ==========================================================================
   FLOATING SLIDE-IN PROMO TOAST (BOTTOM-LEFT)
   ========================================================================== */
.kgai-floating-ad-toast {
    position: fixed;
    bottom: -300px;
    left: 24px;
    right: auto;
    width: calc(100% - 48px);
    max-width: 320px;
    z-index: 9995;
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, visibility 0.4s;
    pointer-events: auto;
}

.kgai-floating-ad-toast.active {
    bottom: 24px;
    opacity: 1;
    visibility: visible;
}

.kgai-floating-ad-toast-inner {
    background: var(--sc-bg-glass);
    border: 1px solid var(--sc-border-glass);
    border-radius: 16px;
    padding: 1.15rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

/* Glowing accent corner */
.kgai-floating-ad-toast-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--sc-glow-cyan), var(--sc-glow-purple));
}

.kgai-floating-ad-toast-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--sc-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
    z-index: 3;
}

.kgai-floating-ad-toast-close:hover {
    color: var(--kgai-text-heading);
}

.kgai-floating-ad-toast-tag {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--sc-glow-cyan);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.kgai-floating-ad-toast-product {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.kgai-floating-ad-toast-img-holder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    flex-shrink: 0;
}

[data-theme="light"] .kgai-floating-ad-toast-img-holder {
    background: rgba(0, 0, 0, 0.03);
}

.kgai-floating-ad-toast-img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
}

.kgai-floating-ad-toast-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--kgai-text-heading);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.kgai-floating-ad-toast-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--kgai-cyan);
}

.kgai-floating-ad-toast-desc {
    font-size: 0.725rem;
    color: var(--kgai-text);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.kgai-floating-ad-toast-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--sc-border-glass);
    padding-top: 0.65rem;
}

.kgai-floating-ad-toast-optout {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: var(--sc-text-muted);
    cursor: pointer;
    user-select: none;
}

.kgai-floating-ad-toast-optout input {
    margin: 0;
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.kgai-floating-ad-toast-btn {
    background: linear-gradient(90deg, #f97316, #ea580c);
    color: #ffffff !important;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.725rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.kgai-floating-ad-toast-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
}
