.techdir-cookie-consent {
    position: fixed;
    left: 50%;
    right: 0;
    bottom: 0;
    z-index: 1500;
    background: var(--techdir-cookie-bg, rgba(0, 0, 0, 0.85));
    color: var(--techdir-cookie-text, #ffffff);
    padding: 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 700px;
    transform: translateX(-50%);
}

.techdir-cookie-consent--hidden {
    opacity: 0;
    pointer-events: none;
}

.techdir-cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.techdir-cookie-consent__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.techdir-cookie-consent__text a {
    color: var(--techdir-cookie-link, #ffd700);
    text-decoration: underline;
}

.techdir-cookie-consent__button {
    background: var(--techdir-cookie-btn-bg, #ff9900);
    border: none;
    color: var(--techdir-cookie-btn-text, #ffffff);
    cursor: pointer;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.techdir-cookie-consent__button:hover,
.techdir-cookie-consent__button:focus {
    background: var(--techdir-cookie-btn-bg-hover, #e68600);
}

@media (max-width: 767px) {
    .techdir-cookie-consent {
        padding: 12px;
    }

    .techdir-cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .techdir-cookie-consent__button {
        width: 100%;
    }
}
