.penny-cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 9998;
    width: min(920px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
    transform: translate3d(-50%, 18px, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(14px);
}

.penny-cookie-consent.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0);
}

.penny-cookie-consent__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 137, 23, 0.12);
    color: var(--theme, #ef8917);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.penny-cookie-consent__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.25rem;
    color: #111827;
}

.penny-cookie-consent__text {
    margin: 0;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
}

.penny-cookie-consent__text a {
    color: var(--theme, #ef8917);
    font-weight: 700;
    text-decoration: none;
}

.penny-cookie-consent__text a:hover {
    text-decoration: underline;
}

.penny-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.penny-cookie-consent__btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.penny-cookie-consent__btn:hover {
    transform: translateY(-1px);
}

.penny-cookie-consent__btn--ghost {
    background: #fff;
    border-color: #e5e7eb;
    color: #374151;
}

.penny-cookie-consent__btn--ghost:hover {
    background: #f9fafb;
}

.penny-cookie-consent__btn--accept {
    background: var(--theme, #ef8917);
    color: #fff;
    box-shadow: 0 8px 18px rgba(239, 137, 23, 0.24);
}

@media (max-width: 767.98px) {
    .penny-cookie-consent {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: flex-start;
        bottom: 0.85rem;
        border-radius: 16px;
    }

    .penny-cookie-consent__actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .penny-cookie-consent__btn {
        flex: 1;
        justify-content: center;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .penny-cookie-consent {
        transition: none;
    }
}
