.wc-tiered-discount-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 15px 0;
    font-family: inherit;
}

.wc-tiered-discount-btn:hover {
    transform: translateY(-2px);
}

.wc-tiered-discount-btn:active {
    transform: translateY(0);
}

.wc-tiered-discount-btn svg {
    flex-shrink: 0;
}

.wc-tiered-discount-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wc-tiered-discount-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wc-tiered-discount-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: inherit;
}

.wc-tiered-discount-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.wc-tiered-discount-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
}

.wc-tiered-discount-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
}

.wc-tiered-discount-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-tiered-discount-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.wc-tiered-discount-popup-body {
    padding: 25px;
    border-radius: 0 0 20px 20px;
}

.wc-tiered-discount-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f7ff;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #4a6fa5;
    font-size: 13px;
    font-family: inherit;
}

.wc-tiered-discount-info svg {
    flex-shrink: 0;
    color: #667eea;
}

.wc-tiered-discount-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc-tiered-discount-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.wc-tiered-discount-tier:hover {
    background: #fff;
}

.tier-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
}

.tier-range {
    display: flex;
    flex-direction: column;
    font-family: inherit;
}

.tier-range strong {
    font-size: 15px;
    color: #333;
}

.tier-range small {
    font-size: 12px;
    color: #888;
}

.tier-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: inherit;
}

.discount-value {
    font-size: 18px;
    font-weight: 700;
}

.tier-discount small {
    font-size: 11px;
    color: #888;
}

@media (max-width: 480px) {
    .wc-tiered-discount-popup {
        width: 95%;
        max-width: none;
    }
    
    .wc-tiered-discount-popup-header {
        padding: 15px 20px;
    }
    
    .wc-tiered-discount-popup-header h3 {
        font-size: 16px;
    }
    
    .wc-tiered-discount-popup-body {
        padding: 20px;
    }
    
    .wc-tiered-discount-tier {
        padding: 12px 15px;
    }
}
