/* Coupon Ranking Blocks - Sticky Bar Styles */
.crb-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.crb-sticky-bar.show {
    transform: translateY(0);
}

.crb-sticky-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .crb-sticky-container {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
}

.crb-sticky-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    position: relative;
}

@media (max-width: 768px) {
    .crb-sticky-item {
        width: 100%;
        justify-content: space-between;
    }
}

.crb-sticky-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: #ecf0f1;
}

@media (max-width: 768px) {
    .crb-sticky-item:not(:last-child)::after {
        display: none;
    }
}

.sticky-logo-container {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
}

.sticky-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.sticky-logo-placeholder {
    width: 100%;
    height: 100%;
    background: #ff4757;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
}

.sticky-info {
    flex: 1;
    min-width: 0;
}

.sticky-offer {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .sticky-offer {
        font-size: 12px;
    }
}

.sticky-cta-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.sticky-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .sticky-cta-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
