/**
 * CannaZen CTA — Sticky Bar + Table Highlight
 */

/* === STICKY FOOTER BAR === */
.cc-cz-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #0a7e0a 0%, #10c956 100%);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    animation: cc-cz-slide-up 0.4s ease-out;
}

@keyframes cc-cz-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cc-cz-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cc-cz-sticky-text {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.cc-cz-sticky-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #0a7e0a !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cc-cz-sticky-btn:hover {
    background: #f0fff0;
    transform: scale(1.03);
}

.cc-cz-sticky-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.cc-cz-sticky-close:hover {
    color: #fff;
}

/* Mobile */
@media (max-width: 640px) {
    .cc-cz-sticky-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 14px;
    }

    .cc-cz-sticky-text {
        font-size: 13px;
        flex: 1 1 calc(100% - 40px);
    }

    .cc-cz-sticky-btn {
        flex: 1 1 100%;
        text-align: center;
        padding: 10px;
    }

    .cc-cz-sticky-close {
        position: absolute;
        top: 6px;
        right: 10px;
    }

    .cc-cz-sticky {
        position: fixed; /* keep fixed for mobile */
    }
}

/* === CANNAZEN ROW HIGHLIGHT IN TABLE === */
tr.cc-cz-highlight-row {
    background: linear-gradient(90deg, rgba(16, 201, 86, 0.08) 0%, rgba(16, 201, 86, 0.03) 100%) !important;
    border-left: 3px solid #10c956 !important;
}

tr.cc-cz-highlight-row td:first-child {
    font-weight: 700 !important;
}

tr.cc-cz-highlight-row td:first-child::after {
    content: " Testsieger";
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #10c956;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Card-Layout: Highlight */
@media (max-width: 640px) {
    tr.cc-cz-highlight-row {
        border: 2px solid #10c956 !important;
        border-left: 2px solid #10c956 !important;
        position: relative;
    }
}
