/* Promofy Consent Banner */
#promofy-consent {
    position: fixed;
    bottom: 24px;
    z-index: 999999;
    width: 320px;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#promofy-consent.pfc-hide {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

/* Card */
.pfc-inner {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Header */
.pfc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    cursor: pointer;
    user-select: none;
}

.pfc-title {
    font-size: 14px;
    font-weight: 700;
    color: #282828;
    line-height: 1.3;
}

.pfc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #282828;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.3s ease;
}

.pfc-toggle:hover {
    background: #f5f5f5;
}

.pfc-toggle.is-collapsed {
    transform: rotate(-180deg);
}

/* Body */
.pfc-body {
    padding: 0 16px 16px;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    opacity: 1;
}

.pfc-body.is-collapsed {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

/* Text */
.pfc-text {
    font-size: 13px;
    color: #5c5c5c;
    line-height: 1.55;
    margin: 0 0 14px;
}

.pfc-text a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.pfc-text a:hover {
    opacity: 0.75;
}

/* Buttons */
.pfc-actions {
    display: flex;
    gap: 8px;
}

.pfc-btn {
    flex: 1;
    padding: 10px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, filter 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 480px) {
    #promofy-consent {
        width: calc(100% - 32px);
        left: 16px !important;
        right: 16px !important;
        bottom: 16px;
    }
}
